Uncategorized

GET Request

Posted on

Copy to clipboard { “amount”:”0.00″, “method”:”CC”, “type”:”9″, “nonce”:{{$timestamp}}, “test”:”0″, “reference_transaction_id”:””, “client_ip”:”172.26.15.177″, “device_code”:””, “market_code”:”M”, “referrer_url”:”onepay.com”, “notes”:”000034970010″, “card”:{ “number”:”379605176666666″, “code”:””, “expiration_date”:”0420″, “type”:”Amex”, “track_data”:”” }, “customer”:{ “first_name”:”Certify”, “last_name”:”Global”, “street_1″:”1307 Broad Hollow Road”, “street_2″:””, “city”:”Melville”, “state”:”NY”, “zip”:”11747″, “country”:”US”, “phone_number”:”0123456789″, “company”:”FirstData”, “customer_id”:”12345″, “invoice_number”:”123456789″, “email”:”kasi.subramanian@Certifyglobal.com”, “email_receipt”:”YES”, “notes”:”Certifyglobal” }, “custom_fields”:[ { “id”:”1″, “value”:”Certifyglobal Test” } ], “additional_data”:[ { “id”:”USER”, “value”:”Amex” }, { […]

Uncategorized

GET Request

Posted on

POST  https://apisandbox.onepay.com/TransData Copy to clipboard {   “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, […]

Uncategorized

GET Request

Posted on

  OnePay supports offline refunds only. Specify the transaction type as 8 and provide the reference transaction ID to refund the original transaction ID. Copy to clipboard { “amount”:”829.57″, “method”:”CC”, “type”:”7″, “nonce”:{{$timestamp}}, “test”:”0″, “reference_transaction_id”:””, “client_ip”:”172.26.15.177″, “device_code”:””, “market_code”:”M”, “referrer_url”:”onepay.com”, “notes”:”000035140010″, “card”:{ “number”:”379605176666666″, “code”:”1234″, “expiration_date”:”0420″ }, “customer”:{ “first_name”:”Certify”, “last_name”:”Global”, “street_1″:”1307 Broad Hollow Road”, “street_2″:””, “city”:”Melville”, “state”:”NY”, “zip”:”11747″, […]

Uncategorized

GET Void Request

Posted on

  An existing auth or auth-capture transaction can be voided by providing appropriate original trasaction ID as refernce in the void request. Copy to clipboard { “type”:”5″, “method”:”CC”, “nonce”:{{$timestamp}}, “reference_transaction_id”:”1005741″, “amount”:”310.28″, “notes”:”000040520011″, “card”:{ “number”:”1116″ }, “custom_fields”:[ { “id”:”1″, “value”:”Certifyglobal Test” } ], “additional_data”:[ { “id”:”USER”, “value”:”JCB” }, { “id”:”SOURCE”, “value”:”PS” } ] } KEY VALUE […]

Uncategorized

POST Auth only Request

Posted on

The type is sent as 1 when the transaction needs to be sent as authorization and used for capture later Copy to clipboard { “amount”:”620.56″, “method”:”CC”, “type”:”1″, “nonce”:{{$timestamp}}, “test”:”0″, “reference_transaction_id”:””, “client_ip”:”172.26.15.177″, “device_code”:””, “market_code”:”E”, “referrer_url”:”onepay.com”, “notes”:”000040520010″, “card”:{ “number”:”375987654111116″, “code”:”1234″, “expiration_date”:”0420″, “type”:”Amex”, “track_data”:”” }, “customer”:{ “first_name”:”Certify”, “last_name”:”Global”, “street_1″:”1307 Broad Hollow Road”, “street_2″:””, “city”:”Melville”, “state”:”NY”, “zip”:”11747″, “country”:”US”, “phone_number”:”0123456789″, […]