Volley
Payments

Get debtor account

GET/payments/{id}/debtor-account

Retrieves the payer's bank account details for a completed payment. Useful for initiating refunds.

AuthorizationBearer <token>

Your Volley API key as a bearer token

In: header

Path Parameters

id*string

The unique identifier of the payment

Response Body

application/json

application/json

application/json

fetch("https://example.com/payments/payment_Bzv6djpVl07tmMx2Tuode/debtor-account", {  method: "GET"})
{  "identification": "12-3456-0789012-00",  "name": "Jane Doe"}
{  "code": "bad_request.invalid_param.amount",  "message": "Invalid format for amount (valid: '10.00 NZD')",  "params": {}}
{  "code": "bad_request.invalid_param.amount",  "message": "Invalid format for amount (valid: '10.00 NZD')",  "params": {}}