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″, […]

Uncategorized

POST Sale Request

Posted on

The type is sent as 2 when the transaction needs to be sent as authorization and capture at the same time Copy to clipboard { “amount”:”206.81″, “method”:”CC”, “type”:”2″, “nonce”:{{$timestamp}}, “test”:”0″, “reference_transaction_id”:””, “client_ip”:”172.26.15.177″, “device_code”:””, “market_code”:”E”, “referrer_url”:”onepay.com”, “notes”:”000047130010″, “card”:{ “number”:”4242424242424242″, “code”:””, “expiration_date”:”0420″, “type”:”VI”, “track_data”:”” }, “customer”:{ “first_name”:”Karim”, “last_name”:”Benzema”, “street_1″:””, “street_2″:””, “city”:””, “state”:””, “zip”:””, “country”:””, “phone_number”:””, “company”:””, “customer_id”:”AUTO”, […]

Uncategorized

Token Response

Posted on

POST https://apisandbox.onepay.com/Token The token response contains information of the token requested. Copy to clipboard {     “result_code”:1,     “result_text”:”SUCCESS”,     “result_sub_code”:”000″,     “transaction_datetime”:”20190423T054855Z”,     “token”:”330314863046666″ } KEY VALUE DESCRIPTION result_code numeric (1) The overall status of the transaction. One of the following: 1 – Approved from First Data **2- Any kind of Declined or Reject from First Data 3- Error […]

Uncategorized

POST Generate Token

Posted on

POST https://apisandbox.onepay.com/Token When a customer card or check details are provided in the token object, token is generated. Tokens can be used to process the transactions, create billing plans and save to customer vault. Copy to clipboard { “card”:{ “number”:”4111111111111111″, “code”:”228″, “expiration_date”:”0419″, “type”:”AX”, “track_data”:null, “action_code”:null, “default_card”:null, “token”:”” }, “check”:null } KEY VALUE DESCRIPTION check object […]

Uncategorized

POST GetBatchDetail Response

Posted on

POST{{GatewayAPIURL}}/Batch/GetBatchDetail/ The batch details with transactional details are available as a part of this response Copy to clipboard { “batch_response”: { “result_code”:1, “result_sub_code”:”000″, “result_text”:”SUCCESS”, “merchant_terminal_id”:”91″, “terminal_name”:”ABCRETAIL”, “batch_id”:”1011081″, “batch_date”:null }, “transaction”: [ { “batch_id”:1011081, “gateway_id”:100003, “terminal_id”:”00000002″, “transaction_id”:1034983, “transaction_datetime”:”20190405T111319Z”, “card_type”:null, “accountnumberlast4″:”1111”, “expiration_date”:”0420″, “transaction_amount”:12.00, “method”:”CC”, “auth_id”:”OK0386″, “transaction_type”:2, “nonce”:”950483928″, “token”:”1550601794131111″ } ] } KEY VALUE DESCRIPTION batch_response object This […]