Refund a deposit
Card deposits
Total refund
curl -L \
--request POST \
--url 'https://api-stg.onekeypayments.com/v3/refunds' \
--header 'Content-Type: application/json' \
--header 'X-Date: 2025-07-25T13:13:08.220Z' \
--header 'X-Login: text' \
--header 'Authorization: text' \
--data '{
"deposit_id": 300533647,
"invoice_id": "newIUnit45328732",
"comments": "Test refund",
"notification_url": "https://merchant.com/webhooks/onekeypayments/refunds"
}'Partial refund
curl -L \
--request POST \
--url 'https://api-stg.onekeypayments.com/v3/refunds' \
--header 'Content-Type: application/json' \
--header 'X-Date: 2025-07-25T13:13:08.220Z' \
--header 'X-Login: text' \
--header 'Authorization: text' \
--data '{
"deposit_id": 300533647,
"invoice_id": "newIUnit45328732",
"amount": 50,
"comments": "Test refund",
"notification_url": "https://merchant.com/webhooks/onekeypayments/refunds"
}'Alternative payment methods
Refund status
Last updated
Was this helpful?

