Payments
Cancel a payment
Cancels a submitted payment before it is sent to the ACH network. Payments can only be canceled if they are still in the pending state and have not been submitted to the ACH network. After a payment is sent to the ACH network, you must wait for the it to settle and then you may refund it instead.
In some cases if you cancel while the payment is in the process of being submitted to the ACH network you may see a status of cancellation_pending in the response. In this case, you can check the status of the payment or wait for a subsequent webhook to see if it was successfully canceled or processed.
post/payments/{payment_id}/cancel
Request
- Base URLhttps://production.pier-finance.com/api
- AuthHTTP bearer
Path parameters
payment_idstring required
Response
Example response
{
"amount": 100000,
"facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
"created_on": "2023-02-27T00:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.