Declines an inbound ACH transfer and specifies why it will be returned. You can provide a reason from the supported ACH return codes; if omitted, the default depends on whether the transfer is a debit or credit. The response contains the updated inbound ACH transfer.
IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.
1 parameter · 1 body field
inbound_ach_transfer_idstringrequired
The identifier of the inbound ACH transfer to decline.
Optional details for declining the inbound ACH transfer.
reasonstringoptional
The reason why this transfer will be returned. If this parameter is unset, the return codes will be `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits.
A 15 digit number set by the sending bank and transmitted to the receiving bank. Along with the amount, date, and originating routing number, this can be used to identify the ACH transfer. ACH trace numbers are not unique, but are [used to correlate returns](https://increase.com/documentation/ach-returns#ach-returns).
transfer_returnobjectrequired
If your transfer is returned, this will contain details of the return.
typestringrequired
A constant representing the object's type. For this resource it will always be `inbound_ach_transfer`.
Allowed:inbound_ach_transfer
4XXReturned when the request encounters a client-side error.
5XXReturned when the request encounters a server-side error.
Error handling
The inbound_ach_transfer_id path parameter must identify an existing inbound ACH transfer. If provided, reason must be one of: insufficient_funds, authorization_revoked_by_customer, payment_stopped, customer_advised_unauthorized_improper_ineligible_or_incomplete, representative_payee_deceased_or_unable_to_continue_in_that_capacity, beneficiary_or_account_holder_deceased, credit_entry_refused_by_receiver, duplicate_entry, or corporate_customer_advised_not_authorized.