Reverse a processed ACH payment intent.
const url = 'https://api.paygasus.com/payments/ach/ach_9Z3K01ARZ3NDEKTSV4RRFFQ69G5FAV/reversal';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.paygasus.com/payments/ach/ach_9Z3K01ARZ3NDEKTSV4RRFFQ69G5FAV/reversal \ --header 'Authorization: Bearer <token>'Issues a whole-transfer reversal against a processed transfer (ACH has no
partial refund). Only a processed intent can be reversed; a not-yet-sent
transfer should be canceled instead.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
ach_9Z3K01ARZ3NDEKTSV4RRFFQ69G5FAVACH payment intent ID
Responses
Section titled “Responses”Reversed; the intent is now reversed
object
A monetary amount in the currency’s minor units (e.g. cents for USD).
Currently supported currencies by Paygasus Pay
object
object
Draft, not yet submitted to FNBO.
object
Submitted; accepted by FNBO and awaiting submission to the Fed. The only
state (besides created) from which a transfer can be canceled.
object
Being processed by FNBO.
object
Sent to the Fed. Reversible via the reversal endpoint; may still be
returned later by the receiving bank.
object
A created/pending transfer canceled before submission to the Fed.
object
Returned by the Fed / receiving bank (e.g. R01 insufficient funds).
object
A processed transfer reversed by the originator.
object
Example
{ "amount": 1000, "currency": "USD", "id": "ach_9Z3K01ARZ3NDEKTSV4RRFFQ69G5FAV", "payment_method": { "account_holder_name": "Jane Buyer", "account_holder_type": "personal", "account_last4": "6789", "account_type": "checking", "routing_number": "021000021" }, "status": { "status": "created" }}No such payment intent
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "param": "example", "type": "example" }}Intent is not in a reversible (processed) state, or is already being processed
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "param": "example", "type": "example" }}Processor transport failure; the operation is retryable
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "param": "example", "type": "example" }}