Page cover

Simulate Transaction Confirmation

Endpoint

POST {{}}/v1/payout/sandbox/transaction/<transaction_id>/confirm

Description

This endpoint simulates the process of confirming a transaction in a sandbox environment.

URL Parameters

transaction_id (string) : The ID of the simulated transaction.

Example Request

To confirm a transaction, pass the ID of the transaction to the endpoint.

POST {{}}/v1/payout/sandbox/transaction/34/confirm

Response

On success, the API will return a JSON object containing the details of the requested corporate account.

{
  "status": true,
  "message": "Transaction Confirmed",
  "data": {
    "id": 37,
    "senderIban": "GB1204550505050575",
    "recipientIban": "GB1204550505050576",
    "recipientName": "",
    "recipientBic": "ARPY",
    "recipientBankAddress": "bank",
    "recipientBankCountry": "nigeria",
    "amount": 100,
    "reference": "ref",
    "type": "DEBIT",
    "centrolinkRef": "ARPY37",
    "status": "CONFIRMED",
    "createdAt": "2024-08-02T09:56:30.180389Z",
    "updatedAt": "2024-08-02T09:56:30.180388Z"
  },
  "code": 200
}

Last updated