Refund a disbursement

POST
/facilities/:facility_id/disbursements/:disbursement_id/refund

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.
amountinteger

The amount of the disbursement, in cents (e.g. 1000 = $10.00)

created_ondatetime

Timestamp the disbursement object is created on

facility_idstring
idstring

The id of the disbursement

refund_metadataobject

Metadata about the original transaction being refunded

statusenum

The status of the disbursement

transfer_typeenum
Allowed values: standardnonerefundcancellationsuspense_refund

The type of transfer that the disbursement was (ACH, ledger only, or special cases like refunds)

datestringOptional

The date of the disbursement (YYYY-MM-DD)

failure_reasonstringOptional

A reason for the failure if any exists

Errors