Refunds
For any payment executed via Volume into your Virtual Account, you can return money to the original payer. This process is called a Refund.
Rules and Constraints for Refunds
Refunds can only be made to the original account from which the payment was made.
Refunds can only be initiated once the payment is in
SETTLEDstatus.You can refund the full payment or a portion of it, called a Partial Refund.
Multiple Partial Refunds can be made for a single payment.
Only one active Refund is allowed per payment at a time. You cannot start a new Refund until the previous one is completed.
The sum of all Refunds for a payment cannot exceed the original payment amount.
Payment References for Virtual Accounts
For payments made to non-virtual accounts, merchants can specify a custom payment reference. For payments to virtual accounts, Volume assigns the reference internally to ensure uniqueness across all merchants. Any reference passed for a virtual account payment will be ignored.
Initiating a Refund
Refunds can be initiated in two ways:
From the Merchant Portal
Using the backend API
Initiating a Refund in the Merchant Portal
Go to the Payments tab.
Select a payment with
SETTLEDstatus.Click the options button (three dots) on the right end of the payment line and choose Refund.
Enter the refund amount in the dialog. You may issue a Partial Refund as long as the total refunded amount does not exceed the original payment.
Confirm the refund. The payment’s status column will show the refund in progress.
Once the refund is completed, the dashboard will display the refunded amount, and you can initiate additional refunds if necessary.
Initiating a Refund Using the Backend API
You can also initiate a refund via Volume’s API.
Request Example (cURL)
curl --location POST 'https://api.sandbox.volumepay.io/api/merchants/{merchantId}/applications/{applicationId}/refunds' \ --header 'x-application-id: {application-id}' \ --header 'x-application-secret: {application-secret}' \ --data '{ "paymentId": "{payment-id}", "amount": "0.2" }'
Success Response Example
{ "refundPaymentId": "7fbd6514-60d1-486e-a0ab-7824766be37c", "refundedPaymentId": "1bd54f8c-b712-4aba-b524-54780191d705", "createdAtUtc": "2024-11-07T08:20:54.147685", "status": "IN_PROGRESS", "refundRequestDetails": { "amount": 0.2, "currency": "GBP", "reference": "241107081253125ND9", "destination": { "type": "SCAN", "name": "Volume", "accountNumber": "12345678", "sortCode": "123456", "iban": null } } }
Failure Status Codes
4xx: Client errors such as bad request, authentication/authorization issues, configuration problems, or invalid payment status.
5xx: Server errors
Failure Response Example
{ "statusCode": 422, "statusName": "UNPROCESSABLE_ENTITY", "errorMessage": "Payment cannot be refunded in status other than SETTLED, current status=AWAITING_AUTHORIZATION", "traceId": "3c008dc140a96dfd", "source": "MERCHANT" }
Refund Status
Refund status can be checked in two ways:
Merchant Portal – View the status in the payment’s status column.
Refund Webhooks – Subscribe to webhook notifications for any status updates.
Refund Status Values
IN_PROGRESS: Refund is in progress.
PROCESSED: Refund has been processed (not necessarily delivered).
CANCELLED: Refund was cancelled.
FAILED: Refund failed.
HELD: Refund is held and may require contact with Volume for further processing.
RETURNED: Refund was delivered to the destination account and returned.
Refund Status Delivered by Webhooks
When you configure a Refund Webhook URL in the Merchant Portal under Settings → Webhooks and Callbacks, notifications are sent for any status change, regardless of whether the refund was initiated via the Merchant Portal or API.
Delivery Guarantee:
Webhooks are retried until your endpoint responds with 200 OK.
Example Webhook Payload:
{ "eventTimeUtc" : "2024-11-05T10:13:43.763860Z", "applicationId" : "62b36790-f8cd-4764-8e19-2e19ada49cb1", "refundedPaymentId" : "43c4f70b-5528-4f97-a7a6-225760639bcc", "refundedMerchantPaymentId" : "merchant-payment-id-328827", "refundedPaymentAmount" : 0.20, "refundId" : "412d42be-4ef1-495c-9b87-e241ad185582", "refundAmount" : 0.20, "refundCurrency" : "GBP", "refundReference" : "24110510821242Z43Z", "refundStatus" : "PROCESSED", "refundStatusDescription" : "", "refundWebhookDeliveryAttempt" : 0, "destination" : { "type" : "SCAN", "accountNumber" : "12345678", "sortCode" : "123456", "name" : "Volume" } }
Headers:
Content-Type: application/json
Accept: application/json
Authorization: Signature for request verification
Security:
You can verify webhook integrity by checking the signature passed in the Authorization header. The verification mechanism is the same as for regular payment webhooks.