5 - Consult Transaction

Closed Loop Transaction Authorization

API: ConsultTransactionClosedLoop

  • Description: This API is responsible for consulting the details of a specific transaction within the closed loop payment system.

  • Functionality:

    • Allows users to verify the status and details of a transaction before confirming the operation.
    • Returns information such as transaction value, current status, account data involved, and other relevant details.
  • JSON REQUEST:

    {
      "Method": "ConsultTransactionClosedLoop",
      "BusinessUnit": 30420,
      "PartnerId": 10409,
      "ContractIdentifier": "CONe33a1352-67e3-466a-8f92-1f57edd987a5CON"
      "TransactionCode": "464615"
    }
    
    {
      "Method": "ConsultTransactionClosedLoop",
      "BusinessUnit": 30420,
      "PartnerId": 10409,
      "ContractIdentifier": "CONe33a1352-67e3-466a-8f92-1f57edd987a5CON"
      "TransactionCode": "2407cd25-01a5-4578-9f51-e538ea143435",
    }
    
  • JSON RESPONSE:

    {
      "success": true,
      "message": "Withdrawal generated successfully",
      "totalValue": 10.00,
      "merchantName": "Tech RF loja Internacional"
    }
    

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
MerchantNameStore Namestring"Tech RF loja Internacional"Yes
TransactionIdentifierTransaction identifiervarchar"TRA4eb415ef-5c63-4996-8957-e1d2e3a95415TRA"Yes