Create beneficiary withdrawal Run in API Explorer
Ask AI
Creates a withdrawal using the saved details from the beneficiary identified in the body. Call GET /api/v1/payment-reasons, then submit its id and required text fields together in the flat paymentReasons object.
Headers
-
Public API key issued from the Lumetrade API key management flow.
-
API secret paired with the public API key.
multipart/form-data
POST
/api/v1/beneficiaries/withdrawals
cURL (multipart/form-data)
curl \
--request POST 'https://api.staging.lumetrade.com/api/v1/beneficiaries/withdrawals' \
--header "Content-Type: multipart/form-data" \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string" \
--form 'request={"beneficiaryId":"ben_7K9Q2M","amount":101,"paymentReasons":{"paymentReasonId":18,"regulatoryBodyName":"Financial Sector Conduct Authority","licenceRegistrationReference":"FSP-123456"}}'
curl \
--request POST 'https://api.staging.lumetrade.com/api/v1/beneficiaries/withdrawals' \
--header "Content-Type: application/json" \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string" \
--data '{"beneficiaryId":"ben_7K9Q2M","amount":101,"paymentReasons":{"paymentReasonId":18,"regulatoryBodyName":"Financial Sector Conduct Authority","licenceRegistrationReference":"FSP-123456"}}'
Request examples
# Headers
X-API-KEY: string
X-API-SECRET: string
# Payload
{
"beneficiaryId": "ben_7K9Q2M",
"amount": 101,
"paymentReasons": {
"paymentReasonId": 18,
"regulatoryBodyName": "Financial Sector Conduct Authority",
"licenceRegistrationReference": "FSP-123456"
}
}
Response examples (201)
{
"transactionId": "WD5M8Q1P",
"status": "PENDING"
}
Response examples (400)
{
"httpStatus": 400,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 400,
"message": "Request validation failed",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (404)
{
"httpStatus": 404,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 404,
"message": "Resource was not found for the authenticated API key owner",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (403)
{
"httpStatus": 403,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 403,
"message": "Authenticated API key is not allowed to perform this action",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (429)
{
"error": "rate_limit_exceeded",
"message": "API rate limit exceeded"
}
Response examples (401)
{
"httpStatus": 401,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 401,
"message": "API key authentication failed",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (500)
{
"httpStatus": 500,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 500,
"message": "Unexpected server error",
"requestId": "req_01HY0000000000000000000000"
}