- Deriv Core
- Auth
- Config
- Client
- Get Client System StatusGET
- Get Onboarding StatusGET
- Create TNCPOST
- Get Client Financial AssessmentGET
- Update Financial AssessmentPUT
- Get Client Tax InformationGET
- Create Client Tax InformationPOST
- Update Client Tax InformationPUT
- Create Client ProfilePOST
- Get Client ProfileGET
- Create Client AddressPOST
- Get Client AccountsGET
- Update ProfilePUT
- Get AddressGET
- Get Total BalanceGET
- Create Financial AssessmentPOST
- Get Client StatusGET
- Get Login HistoryGET
- Update Client AddressPUT
- Upload Client ProfilePOST
- Wallet
- KYC
- Payment
- Fiat Payment
- Platform
- Auth
- Brand
Withdraw
Testing
POST
/payment/withdraw
withdraw
Last modified:2025-03-07 02:58:31
Request
Header Params
Authorization
stringÂ
optional
Example:
{{CLIENT_AUTH_TOKEN}}
x-client-id
stringÂ
optional
Default:
{{RL_EXCLUSION_KEY}}
Body Params application/json
to
objectÂ
required
address
stringÂ
required
from
objectÂ
required
wallet_id
integerÂ
required
amount
numberÂ
required
Example
{
"to": {
"address": "niJS********************WZH"
},
"from": {
"wallet_id": 135
},
"amount": 1.123
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/payment/withdraw' \
--header 'Authorization: {{CLIENT_AUTH_TOKEN}}' \
--header 'x-client-id: {{RL_EXCLUSION_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"to": {
"address": "niJS********************WZH"
},
"from": {
"wallet_id": 135
},
"amount": 1.123
}'
Responses
🟢200Success
application/json
Body
data
array [object {15}]Â
required
id
integerÂ
optional
amount
numberÂ
optional
client_id
integerÂ
optional
type
stringÂ
optional
category
stringÂ
optional
cashier
stringÂ
optional
account
nullÂ
optional
staff_identifier
nullÂ
optional
remark
nullÂ
optional
payment_time
stringÂ
optional
fee
numberÂ
optional
wallet_id
integerÂ
optional
status
stringÂ
optional
account_id
nullÂ
optional
metadata
objectÂ
optional
meta
objectÂ
required
endpoint
stringÂ
required
method
stringÂ
required
timing
integerÂ
required
Example
{
"data": [
{
"id": 463,
"amount": 1.113,
"client_id": 421,
"type": "withdrawal",
"category": "payment",
"cashier": "crypto",
"account": null,
"staff_identifier": null,
"remark": null,
"payment_time": "2025-01-08T01:39:50.637553",
"fee": 0.00265989,
"wallet_id": 383,
"status": "pending",
"account_id": null,
"metadata": {
"id": 437,
"payment_id": 463,
"tracking_id": "677dd*********************1ff",
"transaction_id": "49fa5b*********************cd8385",
"metadata": {
"msg": "The amount is successfully withdraw.",
"data": {
"id": "677dd*********************1ff",
"date": "2025-01-08 01:39:53",
"txid": "49fa5b*********************cd8385",
"amount": "1.11300000",
"wallet_id": "66*********************e9",
"to_address": "nqf*********************BKRXW",
"wallet_name": "ChampionTest",
"explorer_url": "https://coinremitter.com/tcn/tx/49fa5b*********************cd8385?from=coinremitter",
"total_amount": "1.11565990",
"coin_short_name": "TCN",
"processing_fees": "0.00255990",
"transaction_fees": "0.00010000"
},
"flag": 1,
"action": "withdraw"
},
"client_id": null
}
}
],
"meta": {
"endpoint": "/payment/withdraw",
"method": "POST",
"timing": 8192
}
}
🟠401Unauthorized
🟠400Invalid Request
🔴500Insufficient Balance
Modified at 2025-03-07 02:58:31