Attach a previously uploaded PDF to a payment link
Attaches a file that was previously uploaded via the file upload endpoint to a payment link. Pass the file ID, not the file itself.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of payment link to update
Body
ID of a file previously uploaded via the POST /file endpoint. The file must be of type INVOICE_PDF.
Response
Successful operation
"clkqzo2y1000cx9tfohoiodq1"
12055
"INV-123"
"ACTIVE"
"https://nickel.nickelpayments.com/pay/Ahndhz"
Present only when a customer is associated with the payment link. May be omitted from the response entirely.
Percent (0-100) of the card processing fee passed through to the payer for this payment link. null means no per-link override (the customer/organization setting applies).
100
Whether the payer can pay this link by credit card. null means no per-link override (the organization setting applies).
true
Whether the payer can pay this link by ACH/bank transfer. null means no per-link override (the organization setting applies).
true
Whether the payer can edit the payment amount at checkout.
false
