Skip to main content

List all reversals for a payment

Returns all the reversals associated with a payment, or an empty list if none have been created.

Parameters


No parameters

Returns


Returns the reversal associated with the id.

GET /payments/:payment_id/reversals
curl https://production.methodfi.com/payments/pmt_rPrDPEwyCVUcm/reversals \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
RESPONSE
{
"data": [
{
"id": "rvs_eaBAUJtetgMdR",
"pmt_id": "pmt_rPrDPEwyCVUcm",
"target_account": "acc_JMJZT6r7iHi8e",
"trace_id": null,
"direction": "debit",
"description": "PmtRvrsl",
"amount": 5000,
"status": "pending_approval",
"error": null,
"created_at": "2020-12-09T00:42:31.209Z",
"updated_at": "2020-12-09T00:43:30.996Z"
}
]
}