Payment Transactions

Authorize a Credit Card

Authorize a Credit Card

The Authorization Only Transaction holds funds from an account for settlement at a later date. This transaction implies that the funds are not actually deducted from the account but are on hold for that transaction.

Authorize a Credit Card with All Fields

Example Request:

{ 
    "market_code": "M",
    "amount":"10.50", 
    "method":"CC", 
    "type":"1", 
    "nonce":{{$timestamp}}, 
    "client_ip": "106.51.74.202",
    "test": "0",
    "card":{
        "number":"379605176666666",
        "expiration_date":"0920"
          },
    "customer": {
    "first_name": "Oscar",
    "last_name": "Brady",
    "street_1": "55",
    "street_2": "Airport Drive",
    "city": "Pensacola",
    "state": "FL",
    "zip": "32503",
    "country": "US",
    "phone_number": "2025550197",
    "company": "Ferry Group",
    "customer_id": "AUTO",
    "invoice_number": null,
    "email": "oscar@brady.com",
    "email_receipt": "YES",
    "notes": "Sample Test ",
    }
}

 Example Response:

{
  "transaction_response": {
    "result_code": 1,
    "result_sub_code": "000",
    "result_text": "APPROVAL",
    "transaction_id": "1038544",
    "transaction_uid": "401fc52b-9345-4f26-be7c-d2130068b9f9",
    "transaction_datetime": "20200921T100214Z",
    "account_type": "AX",
    "account_last_4": "6666",
    "amount": "10.50",
    "approved_amount": "10.50",
    "method": "CC",
    "auth_code": "OK6884",
    "avs_result_code": "Z",
    "code_result": "",
    "type": "1",
    "expiration_date": "0920",
    "token": "",
    "emv": "",
    "emv_tag_data": "",
    "entry_mode": ""
  },
  "nonce": "1600682531",
  "test": "0",
  "customer": {
    "first_name": "Oscar",
    "last_name": "Brady",
    "street_1": "55",
    "street_2": "Airport Drive",
    "city": "Pensacola",
    "state": "FL",
    "zip": "32503",
    "country": "US",
    "phone_number": "2025550197",
    "company": "Ferry Group",
    "customer_id": "AUTO",
    "email": "oscar@brady.com",
    "email_receipt": "YES",
    "notes": "Sample Test ",
    "action_code": ""
  },
  "card_info": {
    "card_class": "",
    "product_id": "",
    "prepaid_indicator": "",
    "detailcard_indicator": "X",
    "debitnetwork_indicator": ""
  }
}

Authorize a Credit Card with Required Fields

Example Request:

{ 
    "amount":"10.50", 
    "method":"CC", 
    "type":"1", 
    "nonce":{{$timestamp}}, 
    "card":{
     "number":"379605176666666",
     "expiration_date":"0920"
   }
}

 Example Response:

{
  "transaction_response": {
    "result_code": 1,
    "result_sub_code": "000",
    "result_text": "APPROVAL",
    "transaction_id": "1038545",
    "transaction_uid": "e56cd724-24e4-4955-9213-ef4a7c7b2916",
    "transaction_datetime": "20200921T100306Z",
    "account_type": "AX",
    "account_last_4": "6666",
    "amount": "10.50",
    "approved_amount": "10.50",
    "method": "CC",
    "auth_code": "OK7274",
    "avs_result_code": "",
    "code_result": "",
    "type": "1",
    "expiration_date": "0920",
    "token": "",
    "emv": "",
    "emv_tag_data": "",
    "entry_mode": ""
  },
  "nonce": "1600682584",
  "test": "0",
  "customer": {
    "first_name": "",
    "last_name": "",
    "street_1": "",
    "street_2": "",
    "city": "",
    "state": "",
    "zip": "",
    "country": "",
    "phone_number": "",
    "company": "",
    "customer_id": "",
    "email": "",
    "email_receipt": "",
    "notes": "",
    "action_code": ""
  },
  "card_info": {
    "card_class": "",
    "product_id": "",
    "prepaid_indicator": "",
    "detailcard_indicator": "X",
    "debitnetwork_indicator": ""
  }
}