Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

View Single Transaction

POST {api-url}/payment?ns={community}

Use this call to get details of a transaction for a merchant.

FieldTypeRequirementDescription
TIDStringRequired*TID (Transaction ID) of the transaction.
OldReferenceStringRequired*The reference number of the original transaction.
StoreIDStringRequiredA unique store identifier code for the merchant.
MetadataStringOptionalAny other detail that the merchant wishes to store on this transaction.

*Either the TID or OldReference must be supplied. If both are supplied, only OldReference will be used.

{
"TID": "14973608673",
"OldReference": "101",
"StoreID": "Store1",
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/payment?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"TID":"14973608673","OldReference":"101","StoreID":"Store1","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'