Payment Transactions

POS ID

POS ID

Example Request

{
    "amount": "420.64",
    "method": "CC",
    "type": "2",
    "nonce": {{$timestamp}},
    "test": "0",
    "client_ip": "172.26.15.177",
    "market_code": "E",
    "notes": "000041610010",
    "pos_id": "F876543210000A200046",
    "card": {
        "number": "4050083072430603",
        "code": "123",
        "expiration_date": "0424"
    },
    "customer": {
        "first_name": "Jake",
        "last_name": "Boon",
        "street_1": "1307 Road",
        "street_2": "",
        "city": "Melville",
        "state": "LA",
        "zip": "88667",
        "country": "US",
        "phone_number": "9123456789",
        "company": "Planet C",
        "customer_id": "123456",
        "invoice_number": "123456789",
        "email": "planetc@pool.com",
        "email_receipt": "YES"
 
    },
    "custom_fields": [
        {
            "id": "1",
            "value": "Test"
        }
    ],
    "additional_data": [
        {
            "id": "USERID",
            "value": "1"
        },
        {
            "id": "USER",
            "value": "Card"
        },
        {
            "id": "SOURCE",
            "value": "PS"
        }
    ]
}

Example Response

{
  "transaction_response": {
    "result_code": 1,
    "result_sub_code": "000",
    "result_text": "APPROVED",
    "transaction_id": "1042855",
    "transaction_uid": "0992cc74-2e9b-4a98-ab7e-d1a4e4cef751",
    "transaction_datetime": "20201112T010629Z",
    "account_type": "VI",
    "account_last_4": "0603",
    "amount": "420.64",
    "approved_amount": "420.64",
    "method": "CC",
    "auth_code": "OK6126",
    "avs_result_code": "Y",
    "code_result": "",
    "type": "2",
    "expiration_date": "0424",
    "token": "49f27baa31ec4f16ae3dfa6e02ccabe8",
    "emv": "",
    "emv_tag_data": "",
    "entry_mode": "01"
  },
  "nonce": "1605143157",
  "test": "0",
  "customer": {
    "first_name": "Jake",
    "last_name": "Boon",
    "street_1": "1307 Road",
    "street_2": "",
    "city": "Melville",
    "state": "LA",
    "zip": "88667",
    "country": "US",
    "phone_number": "9123456789",
    "company": "Planet C",
    "customer_id": "123456",
    "email": "planetc@pool.com",
    "email_receipt": "YES",
    "notes": "",
    "action_code": ""
  },
  "custom_fields": [
    {
      "id": "1",
      "value": "Test"
    }
  ],
  "card_info": {
    "card_class": "C",
    "product_id": "F",
    "prepaid_indicator": "",
    "detailcard_indicator": "H",
    "debitnetwork_indicator": "14B15P00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"
  }
}