Facilities

Create ACH Authorization

POST
Creates an unsigned ACH authorization document for a specified facility. This is a required step before submitting a payment if repayment ACH is enabled. The user must agree to ACH withdrawals before Pier can initiate payments. This document is automatically signed by the user when you call POST /payments. You must create a new ACH authorization document for each payment.

Path parameters

facility_idstringRequired

Response

This endpoint returns an object
document_url
string
The URL where the document can be accessed.
id
string
The unique identifier for the document.

Errors

POST
1curl -X POST https://production.pier-finance.com/api/facilities/fac_18e5a3726b3943cda2635f40e1041ba4/create_ach_authorization \
2 -H "Authorization: Bearer <token>"
1{
2 "document_url": "https://example.com/document.pdf",
3 "id": "doc_1234567890abcdef"
4}