Loading...
These solutions are available in US and Canada only. For all other regions, please contact us for support.
Important: For authentication, you must include the required HTTPS headers in each request. For more information about the authentication HTTPS headers, see Authenticating Your Requests.
The endpoint you use depends on whether you identify the sale using the checksale_id (generated by the gateway) or the reference_id (generated by the merchant's POS).
| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | GET | https://api.pit.paygateway.com/transactions/checksales/{checksale_id} |
| Production | GET | https://api.paygateway.com/transactions/checksales/{checksale_id} |
| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | GET | https://api.pit.paygateway.com/transactions/checksales/reference_id/{reference_id} |
| Production | GET | https://api.paygateway.com/transactions/checksales/reference_id/{reference_id} |
GET /transactions/checksales/000008639902{
"checksale_id": "000008639902",
"reference_id": "XAZR863990",
"status": "check_submitted",
"check": {
"check_number": "121002048",
"masked_account_number": "XXXXXXXXXXXXX0099",
"bank_number": "123456",
"branch_transit_number": "12345",
"bsb_number": "123-456",
"financial_institution_number": "999",
"routing_number": "026009593",
"token": "EnzMcSVlkP"
},
"payment": {
"amount": "23.09",
"fees": {
"customer_fee_amount": "10.03",
"surcharge_amount": "10.03"
},
"type": "credit"
},
"transaction": {
"aft_ca": {
"return_date": "2018-09-14",
"return_code": "R01",
"return_description": "Check Returned"
},
"entry_class": "WEB",
"payment_purpose_code": "150",
"verification_code": "25457812586C",
"nacha": {
"return_date": "2018-09-14",
"return_code": "R01",
"return_description": "Check Returned",
"noc_code": "C01",
"noc_description": "The account number is incorrect or is formatted incorrectly"
},
"auspaynet": {
"return_code": "2",
"return_description": "Check Returned"
},
"paymentsnz": {
"return_code": "2",
"return_description": "Check Returned"
}
},
"links": [
{
"checksale_id": [
{
"href": "https://api.paygateway.com/cnp-payments/checksales/000000106821",
"relation": "self",
"method": "POST",
"description": "Use this endpoint to retrieve a previous sales transaction using reference id."
}
],
"reference_id": [
{
"href": "https://api.paygateway.com/cnp-payments/checksales/000000106821",
"relation": "self",
"method": "POST",
"description": "Use this endpoint to retrieve a previous sales transaction using reference id."
}
]
}
]
}