Request Sandbox KeysSee a Demo
  • Overview
    • Quickstart
    • Payments and Disbursements
    • Errors
    • Webhooks
  • Guides
    • Compliance
    • Starter Mode
    • KYC
    • Line of Credit program
    • Buy Now Pay Later program
  • API Reference
LogoLogo
Request Sandbox KeysSee a Demo
API ReferencePayments

Move payment to failed state

PATCH
/payments/:payment_id/test/failed
PATCH
/api/payments/:payment_id/test/failed
1curl -X PATCH https://production.pier-finance.com/api/payments/pmt_234259b117854d0194bc5864a6c45b42/test/failed \
2 -H "Authorization: Bearer <token>"
Try it
200Updated
1"Ok."
Move payment to failed state (*sandbox only*)
Was this page helpful?
Previous

Get balance report

Next
Built with
Get balance report

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Path parameters

payment_idstringRequired

Response

This endpoint returns a string.

Errors

Bearer authentication of the form Bearer <token>, where token is your auth token.

Move payment to failed state (sandbox only)