Confirm Crypto Payout

Confirms an initiated crypto payout using the authentication token and wallet PIN. Once confirmed, the payout moves to processing.

Request

POST {{base_url}}/api/v1/payout/wallet-crypto/confirm

Authentication

LedgerBlock uses Bearer Token authentication. Include your API key in the Authorization header.

ParameterValueType
Authorization{{api_key}}Bearer Token

Headers

HeaderRequiredDescriptionExample
Content-TypeYesSpecifies that the request body is JSON.application/json
x-merchant-refYesUnique reference identifying the merchant.{{vault:x-merchant-ref}}

Request Body

ParameterRequiredDescriptionExample
user_refYesUnique reference identifying the user.{{merchant_user_ref}}
auth_tokenYesAuthentication token returned when the crypto payout was initiated.{{auth_token}}
wallet_pinYesUser's wallet PIN used to authorize the payout.123456

Example Request

{
  "user_ref": "{{merchant_user_ref}}",
  "auth_token": "{{auth_token}}",
  "wallet_pin": "123456"
}

Example Response

{
  "status": "success",
  "message": "Payout confirmed. Processing",
  "data": {
    "payment_ref": "dummy-payment-ref-001",
    "txn_merchant_ref": "DUMMY_LBREF_000001",
    "currency": "USDT:POL",
    "chain": "POL",
    "payment_status": "PENDING",
    "auth_token": "",
    "expires_in_seconds": 0
  }
}

Response

FieldDescription
statusIndicates whether the confirmation request was successful.
messageConfirmation result message.
data.payment_refUnique reference assigned to the payout.
data.txn_merchant_refMerchant-provided transaction reference for the payout.
data.currencyCurrency and network identifier for the crypto payout.
data.chainBlockchain network used for the payout.
data.payment_statusCurrent status of the payout after confirmation. PENDING indicates that processing is underway.
data.auth_tokenAuthentication token returned in the response. Empty when no further confirmation token is required.
data.expires_in_secondsToken validity duration in seconds. 0 indicates that no active confirmation token is provided.

Did this page help you?