Refund a deposit
This service enables you to issue and view refunds for completed payments.
For card deposits: The original charge is reversed, returning funds to the cardholder.
For alternative payment methods: The customer receives a refund via a bank transfer.
Please note, a processing fee may apply to refunds.
Card deposits
Total refund
curl -L \
--request POST \
--url 'https://api-stg.pandablue.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/d24/refunds"
}'Partial refund
curl -L \
--request POST \
--url 'https://api-stg.pandablue.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/d24/refunds"
}'Alternative payment methods
Refund status
Each time that a refund changes its status we will send a webhook notification
Then, you will know that you should retrieve the status of the refund
For technical details regarding refunds status retrieval, please visit the API Reference
Last updated
Was this helpful?

