Logo
Peach Payments Public API Documentation

Query transaction by transaction ID

GET {{baseUrl}}/payments/:transactionId?authentication.userId={{apiUsername}}&authentication.password={{apiPassword}}&authentication.entityId={{entityId}}

Query a transaction by transaction ID.

 

Body PARAM

Key Datatype Required Description 
authentication.userId
string (Required)
authentication.password
string (Required)
authentication.entityId
string (Required)



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "id": "e876eb9835b44797ad826a7869b3020c", "paymentType": "DB", "paymentBrand": "EFTSECURE", "amount": 1, "currency": "ZAR", "merchantTransactionId": "EFT_5d3aa9d1-a6fd-4fbb-901b-c716ad1aa6e7", "result": { "code": "000.200.000", "description": "transaction pending" }, "resultDetails": { "ExtendedDescription": "Payment process started.", "AcquirerResponse": "PENDING", "paymentKey": "e3e0af0be57e0b3d1eb2e0385785e266" }, "connectorTxID1": null, "timestamp": "2022-09-29T09:08:31.491751Z", "customParameters": { "HELIOS_TRANSACTION": "true", "HELIOS_UNIQUE_ID": "e876eb9835b44797ad826a7869b3020c", "PEACH_MERCHANT_ID": "e098a59e50e411eb88ef02de7a5a0a6e" }, "card": { "bin": null, "last4Digits": null, "holder": null, "expiryMonth": null, "expiryYear": null } }


Curl
curl -X GET 'baseUrl/payments/:transactionId?authentication.userId=apiUsername&authentication.password=apiPassword&authentication.entityId=entityId?authentication.userId=apiUsername&authentication.password=apiPassword&authentication.entityId=entityId'

ENDPOINTS