Facilities

Refund a disbursement

POST
Refunds a specified disbursement in full. This endpoint is intended for correcting erroneous transactions.

Path parameters

facility_idstringRequired
disbursement_idstringRequired

Response

This endpoint returns an object
amount
integer
The amount of the disbursement, in cents (e.g. 1000 = $10.00)
created_on
datetime
Timestamp the disbursement object is created on
facility_id
string
id
string
The id of the disbursement
refund_metadata
object
Metadata about the original transaction being refunded
status
enum
The status of the disbursement
Allowed values: pendingprocessingsettledfailedcancelled
transfer_type
enum
The type of transfer to use for the disbursement
Allowed values: standardnext_daysame_daynone
date
stringOptional
The date of the disbursement (YYYY-MM-DD)
failure_reason
stringOptional
A reason for the failure if any exists

Errors