v1

latestOpenAPI 3.0.0Apache 2.02026-07-263079321.1 MB
Transactions

Withdrawal Transaction

This API is responsible for generating a Withdrawal transaction. When triggered, it creates a QR Code or a 6-digit token that the final user will use to confirm the Withdrawal in their application.

post/GenerateWithdrawalClosedLoop

Request body

Methodstring required

Text Containing The Name Of The Method

BusinessUnitIdinteger required

Number Of The BusinessUnit

PartnerIdinteger required

Number Of The Partner

ContractIdentifierstring required

The Store's ContractIdentifier

Valuenumber required

Value Of The Transaction without Rates

UserRatenumber required

User Rate value

MerchantAccountKeystring required

Merchant Account Identifier

Identifierstring required

Identifier Of The Transaction

InitiationTypeinteger required

The type of user initiation: 0 for Code, 1 for QRCode

Example request

{
  "Method": "GenerateWithdrawalClosedLoop",
  "BusinessUnitId": 4548,
  "PartnerId": 4548,
  "ContractIdentifier": "CON965569f9-5c93-4335-b09e-29efe32ba292CON",
  "Value": 2.45,
  "UserRate": 0.5,
  "MerchantAccountKey": "378320-014700-0146333-1",
  "Identifier": "PurchaseTest1106new4"
}

Response

Possible responses for a request

OR

Example response

{
  "Success": true,
  "Message": "Purchase generated successfully",
  "TransactionIdentifier": "TRAc8bf0cf1-8b95-4030-8c69-8db61c6900b5TRA",
  "TransactionCode": "220337"
}