Loading...
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.
Important:
The response does not include the following:
To view the details of any sale, send a GET request including the reference_id to the relevant endpoint.
| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | GET | https://api.pit.paygateway.com/transactions/card/sales/reference_id/{reference_id} |
| Production | GET | https://api.paygateway.com/transactions/card/sales/reference_id/{reference_id} |
GET /transactions/card/sales/reference_id/XAZR863990{
"invoice_number": "239087",
"amount": "23.09",
"currency_code": "840",
"gratuity_amount": "23.09",
"transactions": [
{
"tender_type": "credit",
"entry_type": "contactless",
"id": "000008639902",
"reference_id": "XAZR863990",
"status": "approved",
"status_code": "200",
"processor_response": "APPROVAL ADB123",
"transaction_datetime": "2019-12-15T13:00:00Z",
"credit_attributes": {
"approval_code": "ADB123",
"avs_response": "full_match",
"avs_response_description": "Match - Street Address",
"cardsecurity_response": "match",
"payment": {
"amount": "23.09",
"cashback_amount": "10.00",
"type": "credit",
"fees": {
"customer_fee_amount": "10.03",
"surcharge_amount": "10.03"
}
},
"card": {
"masked_card_number": "XXXXXXXXXXX5538",
"cardholder_name": "Joe Doe",
"expiry_month": "03",
"expiry_year": "23",
"type": "visa",
"balance": "12.09",
"postal_code": "84042",
"rfmiq": "ADB12",
"token": "EnzMcSVlkP",
"card_on_file_attributes": {
"tokenization_error_code": "ADB12",
"tokenization_error_message": "ADB12"
}
}
},
"debit_attributes": {
"approval_code": "ADB123",
"avs_response": "full_match",
"avs_response_description": "Match - Street Address",
"cardsecurity_response": "match",
"payment": {
"amount": "23.09",
"cashback_amount": "23.09",
"type": "credit"
},
"card": {
"masked_card_number": "XXXXXXXXXXX5538",
"cardholder_name": "Joe Doe",
"expiry_month": "03",
"expiry_year": "23",
"type": "visa",
"balance": "12.09",
"postal_code": "84042",
"rfmiq": "ADB12",
"token": "EnzMcSVlkP",
"debit_trace_number": "dbttrace",
"card_on_file_attributes": {
"tokenization_error_code": "ADB12",
"tokenization_error_message": "ADB12"
}
}
}
}
]
}