Transactions
Purchase Transaction
This API is responsible for generating a purchase transaction. When triggered, it creates a QR Code or a 6-digit token that the final user will use to confirm the purchase in their application.
post/GeneratePurchaseClosedLoop
Request body
Example request
{
"Method": "GeneratePurchaseClosedLoop",
"BusinessUnitId": 4548,
"PartnerId": 4548,
"ContractIdentifier": "CON965569f9-5c93-4335-b09e-29efe32ba292CON",
"Value": 2.45,
"MerchantAccountKey": "378320-014700-0146333-1",
"Identifier": "PurchaseTest1106new4"
}Response
Possible responses for a request
Example response
{
"Success": true,
"Message": "Purchase generated successfully",
"TransactionIdentifier": "TRAc8bf0cf1-8b95-4030-8c69-8db61c6900b5TRA",
"TransactionCode": "220337"
}