Skip to main content
POST
/
api
/
v1
/
account
/
bank-payouts
/
{oid}
/
validate-otp
Validate bank payout OTP
curl --request POST \
  --url https://sandbox-revo-api.raliopay.com/api/v1/account/bank-payouts/{oid}/validate-otp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "123456"
}
'
{
  "createdAt": "2025-01-15T10:30:00.000Z",
  "destination": {
    "currency": "CURRENCY",
    "amount": 1000
  },
  "detailUrl": "/api/v1/account/bank-payouts/e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
  "displayType": "PayOut",
  "fee": {
    "currency": "CURRENCY",
    "amount": 1000
  },
  "fx": {
    "pair": "CURRENCY/CURRENCY",
    "rate": 1.08,
    "timestamp": "2025-01-15T10:30:00.000Z"
  },
  "id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
  "origin": {
    "currency": "CURRENCY",
    "amount": 1000
  },
  "reference": "PAY-2025-001234",
  "state": "PENDING",
  "type": "TYPE_PAYOUT",
  "validatedAt": "2025-01-15T10:30:05.000Z"
}

Authorizations

Authorization
string
header
required

API Key for accessing management endpoints

Path Parameters

oid
string
required

Bank Payout Order ID

Body

application/json

OTP code

code
string
required
Example:

"123456"

Response

OK

createdAt
string
Example:

"2025-01-15T10:30:00.000Z"

destination
object
detailUrl
string
Example:

"/api/v1/account/bank-payouts/e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b"

displayType
string
Example:

"PayOut"

fee
object
fx
object
id
string
Example:

"e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b"

origin
object
reference
string
Example:

"PAY-2025-001234"

state
string
Example:

"PENDING"

type
string
Example:

"TYPE_PAYOUT"

validatedAt
string
Example:

"2025-01-15T10:30:05.000Z"