3.2 - Confirm Transaction

API: ConfirmTransactionClosedLoop

  • Description: This API is used to confirm the execution of a transaction within the closed loop payment system.

  • Functionality:

    • After consulting the transaction details through the ConsultTransactionClosedLoop API, the user can use this API to confirm and authorize the transaction.
    • Ensures that the transaction is finalized and the funds are moved as necessary.
  • JSON REQUEST:

    {
      "Method": "ConfirmTransactionClosedLoop",
      "PartnerId": "10409",
      "BusinessUnitId": "30473",
      "TransactionCode": "992898",
      "UserAccountKey": "498191-209911-9590853-5",
      "ContractIdentifier": "CONe33a1352-67e3-466a-8f92-1f57edd987a5CON"
    }
    
  • JSON RESPONSE:

    {
      "Success": true,
      "Message": "Confirmation generated successfully",
      "TransactionIdentifier": "TRA3625e252-3a1a-459c-87ca-74134b3ee471TRA"
    }
    
    {
      "Success": true,
      "Message": "Confirmation generated successfully",
      "TransactionIdentifier": "TRA3625e252-3a1a-459c-87ca-74134b3ee471TRA"
    }
    

Parameter Descriptions:

ParameterDescriptionTypeExampleMandatory
MethodMethod namestring"GeneratePurchaseClosedLoop"Yes
PartnerInformation provided by FitBankbigint"847561"Yes
BusinessUnitIdInformation provided by FitBankint"234334"Yes
ContractIdentifierContract identifiervarchar"CON965569f9-5c93-4335-b09e-29efe32ba292CON"Yes
UserAccountKeyEnd user account identifiervarchar"378320-014700-0146333-1"Yes
TransactionCode6 digit tokenstring"992898"Yes
TransactionIdentifierTransaction identifiervarchar"TRA4eb415ef-5c63-4996-8957-e1d2e3a95415TRA"Yes