Payments

Refund a payment

POST
Refunds a specified payment in full. This endpoint is intended for correcting erroneous transactions. Only customers with ACH disabled can refund payments.

Path parameters

payment_idstringRequired

Response

This endpoint returns an object
amount
integer
The amount of the payment, in cents
created_on
datetime
Timestamp the payment is created on
facility_id
string

The facility_id of the credit facility to make a payment for

id
string
refund_metadata
object
Metadata about the original transaction being refunded
status
enum
The status of the payment
Allowed values: pendingprocessingsettledfailedcancelled
transfer_type
enum
The type of ACH transfer
Allowed values: standardnext_daysame_daynone
failure_reason
stringOptional
A reason for the failure if one exists
is_autopay
booleanOptional
If the payment was a result of an autopay

Errors