Refund a disbursement
Refunds a specified disbursement in full. This endpoint is intended for correcting erroneous transactions.
Path parameters
facility_id
disbursement_id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
This endpoint returns an object.
amount
The amount of the disbursement, in cents (e.g. 1000 = $10.00)
created_on
Timestamp the disbursement object is created on
facility_id
id
The id of the disbursement
refund_metadata
Metadata about the original transaction being refunded
status
The status of the disbursement
transfer_type
The type of transfer that the disbursement was (ACH, ledger only, or special cases like refunds)
Allowed values:standard none refund cancellation suspense_refund
date
The date of the disbursement (YYYY-MM-DD)
failure_reason
A reason for the failure if any exists
Errors
400
Invalid Input Error
400
Transaction Already Refunded Error
401
Unauthorized Error
404
Facility Not Found Error
404
Transaction Not Found Error
409
Cannot Refund Transaction Incorrect Status
429
Rate Limit Error
500
Server Error