63e57aa7df45

latestOpenAPI 3.1.02026-07-26165182724.7 KB
wallets

Confirm transaction with OTP

TODO

post/business/transaction/confirm

Request body

businessIdstring uuid required

The Id of the business who is sending this transaction

challengeIdstring uuid required

The challengeId that you received when initiating the transaction

verificationCodestring required

6 characters code. Default code for sandbox '123456'

ipstring ip required

IP address collected as the IP address from which the End User is making the withdrawal request. IMPORTANT - This will be a required parameter from the 15th of June 2023 and is optional until then.

Example request

{
  "businessId": "cecaea44-47f2-439b-99a1-a35fefaf1eb6",
  "challengeId": "c63aa677-ad1f-4db7-bd33-72badc2ecf9d",
  "verificationCode": "123456",
  "ip": "192.158.1.38"
}

Response

success

idstring uuid required
sourceAccountIdstring alpha-numeric required
destinationAccountIdstring alpha-numeric required
memostring
statusstring
txTypestring
dateTimestring date-time
sourceSyncedOwnerIdstring uuid
destinationSyncedOwnerIdstring uuid

Example response

{
  "id": "90936049-a3a0-4ca8-8fb2-6c4ae93ae717",
  "sourceAccountId": "0148ae0856b1457ff3b59f2ac965b58e",
  "destinationAccountId": "5ad9f70b933ca275fee8de8ca684002d",
  "memo": "extend",
  "status": "COMMITTED",
  "txType": "INTER_LEDGER_SEND",
  "order": {
    "debit": {
      "amountFloat": "5",
      "amount": "500"
    },
    "credit": {
      "amountFloat": "5",
      "amount": "500"
    }
  },
  "dateTime": "2023-08-23T11:31:26.575Z",
  "balanceBefore": {
    "balance": "734321",
    "currency": "cents"
  },
  "balanceAfter": {
    "balance": "734321",
    "currency": "cents"
  },
  "sourceSyncedOwnerId": "b2ccf978-2da7-4ac9-9db7-5398c4c6b212",
  "destinationSyncedOwnerId": "2d57625c-cd8c-4949-a380-326711b04337"
}