Uncategorized

GET Request

POST  https://apisandbox.onepay.com/TransData

Sample Code


 {
  "transaction_response":
   {
    "result_code":1,
    "result_sub_code":"000",
    "result_text":"APPROVAL",
    "transaction_id":"1035704",
    "transaction_datetime":"20190423T030501Z",
    "account_type":"VI",
    "account_last_4":"4242",
    "amount":"206.81",
    "approved_amount":"206.81",
    "method":"CC",
    "auth_code":"OK0308",
    "avs_result_code":null,
    "account_code_result":"",
    "type":"2",
    "expiration_date":"0420",
    "token":"2767285677594242"
   },
    "nonce":"1556013894",
    "test":"0",
    "customer_response":
    {
     "result_code":1,
     "result_text":"SUCCESS",
     "result_sub_code":"000",
     "transaction_datetime":"20190423T100519Z",
     "token":"2767285677594242"
    },
   "customer":
   {
     "first_name":"Karim",
     "last_name":"Benzema",
     "street_1":"",
     "street_2":"",
     "city":"",
     "state":"",
     "zip":"",
     "country":"",
     "phone_number":"",
     "company":"",
     "customer_id":"1000227",
     "invoice_number":"123456789",
     "email":"",
     "email_receipt":"NO",
     "notes":"Certifyglobal",
     "action_code":"1",
     "source_user":"Amex",
     "source_application":null,
     "custom_fields":null
   },
   "custom_fields" :
   [
     {
      "id":"1",
      "value":"Certifyglobal Test",
      "label":null
     }
   ]
  }
 
KEY VALUE DESCRIPTION
amount decimal amount of the charge to be authorized.
amount decimal amount of the charge to be authorized.
amount decimal amount of the charge to be authorized.

Leave a Reply

Your email address will not be published. Required fields are marked *