Refund a deposit
Refunds a completed deposit in full, returning the funds to the original payer.
Authorizations
JWT bearer token. Include as Authorization: Bearer <token>. See the Authentication guide for how to obtain one.
Headers
Unique key to ensure idempotent request processing. Required on all POST, PUT, and PATCH requests.
API version. Omit to use the default version.
"1"
Path Parameters
UUID of the operation.
Body
Request to refund a completed deposit. The refund is always for the full deposit amount and returns the funds to the original payer.
Why the deposit is being refunded. Recorded as the reason on the operation's REFUNDED state.
Response
Refund accepted for processing. No response body. Poll GET /v1/operations/{operationId} to follow the deposit to REFUNDED.