Confirm Wallet-to-Wallet Transfer

Confirm transfers funds from one internal LedgerBlock wallet to another wallet.

The transfer requires a user ref, auth token, and PIN. The user_ref identifies the user confirming the transfer, the auth_token is a unique identifier for the transfer (tokens expires in 600 seconds), and pin is the security pin on the source (Sender) wallet.

Endpoint

POST {{base_url}}/api/v1/user/wallet/transfer/confirm

Authorization

Bearer Token

The request must include a valid Bearer Token.

Headers

HeaderDescriptionRequired
AuthorizationBearer token used to authenticate the requestYes
Content-TypeSpecifies that the request body is JSONYes
x-merchant-refUnique reference identifying the merchantYes

Request Body

FieldDescriptionRequired
user_refReference of the user initiating the transferYes
auth_tokenID of the wallet funds will be deducted fromYes
wallet_pinID of the wallet that will receive the fundsYes

Request

{
    "user_ref": "{{vault:Merchant-user-ref}}",
    "auth_token": "de6d8c4c872d045db8e1de125b665c2a02aab84b9249303306fb20216d2c3bc2",
    "wallet_pin": "123456"
}

Did this page help you?