Manage vendor payment links
Use vendor payment links to let vendors choose how they want to get paid. When you generate a payment link for a bill, the vendor receives a secure, hosted page where they can select their preferred payment method — ACH, virtual card (vCard), or check. Their choice is stored and reused for future payouts, so you don’t need to collect payment details manually or send additional links.
This suits on-demand payout workflows, because vendors choose how they want to get paid without you building your own collection UI. Every payment link is created from a bill, so you can’t use one to collect a vendor’s payment method without a bill to pay.
Considerations
Keep these in mind when working with vendor payment links:
- You must create a vendor and a bill before generating a payment link.
- The payment link is tied to a specific bill. When the vendor completes the link, Payabli automatically authorizes and captures the payout, and the vendor’s payment method preference is stored for future use.
- Paypoints control which payment methods are offered to the vendor. You can configure the link to show any combination of ACH, virtual card, and check.
- You can send payment links by email. Payabli doesn’t resend a link automatically, so you decide when to follow up.
- A payment link can expire. See Payment link expiration.
Payment methods
Vendor payment links support the following payout methods. Paypoints determine which methods to offer each vendor.
Payments captured before 3:30 PM ET typically pull funds from the payor’s account within 2–3 business days. A 3-day hold is applied to ensure funds clear before disbursement to the vendor.
Generate a payment link
Send a POST request to /api/PaymentLink/bill/{billId} to create a payment link for a bill. See the API reference for full documentation.
After generating the link, use the send endpoint to send it to the vendor via email.
Use the request body to configure the payment page appearance, including branding, messaging, and which payout methods are offered to the vendor. The paymentMethods.methods object uses Pay Out-specific field names:
ach— offer ACH bank transfervcard— offer virtual cardcheck— offer physical check
Set defaultMethod to highlight a preferred option (for example, "vcard"), and use allowMultipleMethods: true to let the vendor pick from all enabled options.
To set when the link expires, pass the optional expirationDate query parameter in YYYY-MM-DD format. The date must be after today (UTC), and the link expires at the end of that day (UTC). See Payment link expiration for what happens when you leave it out.
A successful request returns a 200 response with the payment link ID.
Send a payment link
Send a GET request to /api/PaymentLink/send/{payLinkId} to send a payment link to the vendor via email. Use the mail2 query parameter to specify one or more recipient email addresses, separated by semicolons. See the API reference for full documentation.
Sending a payment link requires an API token with the paymentlink_create or vendorpaymentlink_create permission. A token without either one, including a public token or a payment link temporary token, gets a 403 response. You can send each payment link up to 5 times in 24 hours, counted from the first send. Further sends return a 429 response until the 24-hour window ends.
Create the payment link without the mail2 parameter, then use this endpoint to send it. This separates link creation from sending and lets you control exactly when and where the link goes.
You can’t send an expired payment link. The request fails with Payment link is expired. To send it again, reactivate it with a new expiration date first.
A successful request returns a 200 response with the payment link ID.
Payment link expiration
A payment link’s expiration date depends on whether you set one and whether Payabli emails the link:
- You set
expirationDate: the link expires at the end of that day (UTC). Your date always wins. - You don’t set it, and Payabli emails the link: Payabli sets the link to expire 30 days after the send, at the end of that day (UTC). Payabli emails a vendor payment link only when you create it with
mail2or send it with the send endpoint. You can’t change this default. Resending a link doesn’t extend an expiration date that’s still in the future. - You don’t set it, and Payabli never emails the link: the link doesn’t expire. For example, you share the link URL with the vendor yourself.
Payabli checks expiration when someone opens or sends the link, not on a schedule. A link that’s past its expiration date can still show as Active until someone opens or sends it. At that point, its status changes to Expired.
A link also stops loading once its bill is no longer active or approved. Opening it returns error 3411.
What the vendor sees
When the vendor opens the payment link, they see a secure, branded page with the bill details and available payment methods. If you set a defaultMethod when generating the link, that method is highlighted as the recommended option. The vendor can choose a different method if multiple methods are enabled.
The vendor selects their preferred method and provides the required details:
- ACH: Bank account and routing number
- Virtual card: Email address for secure card delivery
- Check: Mailing address (if not already on file)
When the vendor submits their selection, Payabli automatically authorizes and captures the payout for that bill. The bill status transitions follow the same flow as any other authorize and capture action — for example, moving from Active to In Transit to Paid. You don’t need to call the authorize or capture endpoints separately. To find out when this happens, listen for the payout webhooks described in Stored payment preferences.
The vendor’s payment method preference is also securely tokenized and stored on their vendor record. You can use this stored preference for future payouts without sending additional links.
Get payment link details
Send a GET request to /api/PaymentLink/{payLinkId} to retrieve information about a specific payment link. See the API reference for full documentation.
A successful request returns a 200 response with the payment link details.
Update a payment link
There are two ways to update a Pay Out payment link:
Update status or expiration
Send a PATCH request to /api/PaymentLink/out/{paylinkId} to update the link’s status, expiration date, or page content. See the API reference for full documentation.
A payment link has one of these statuses, and can only move between them as shown:
Reactivate or pause a link
To reactivate an expired link, send a new future expirationDate. The new date alone sets the link back to Active, so you don’t need to send status. Reactivation fails if the bill already has another active payment link.
This example reactivates an expired link with a new expiration date:
A successful request returns a 200 response with the payment link ID.
Expired is the only status you can reverse, so you can use it to pause a link:
- To pause a link right away, send
status: Expired. This is the only way to pause a link today. - To schedule a pause, send an earlier
expirationDate. The earliest date you can set is tomorrow (UTC), so a scheduled pause takes effect at the end of tomorrow at the soonest. Until then, the vendor can still complete the link, and completing it authorizes and captures the payout.
Don’t send status: Expired and expirationDate in the same request: Payabli applies the status first, then the new date reactivates the link, so it ends up Active.
To resume, send a new future expirationDate. The link becomes Active again, and you can send it to the vendor. Resuming fails if the bill has another active payment link by then.
For example, you need to hold a payment while you check a disputed invoice amount. You set the link to Expired. After the invoice is settled, you set a new expiration date and send the link again.
Cancel a link
To stop a link for good, send status: Canceled. Canceling is permanent: you can’t reactivate a canceled link. The link stays tied to its bill, so the bill keeps a record of it. You can still delete a canceled link.
Update page content
Send a PATCH request to /api/PaymentLink/updateOut/{paylinkId} to update the payment page configuration — branding, messaging, payment methods offered, and other page settings. See the API reference for full documentation.
This example changes which payment methods are offered to the vendor:
A successful request returns a 200 response with the payment link ID.
Delete a payment link
Send a DELETE request to /api/PaymentLink/{payLinkId} to delete a payment link. See the API reference for full documentation.
Deleting a payment link is permanent. It removes the link from its bill, if the bill is still active or approved, so you can create a new payment link for that bill. Sending status: Deleted to PATCH /api/PaymentLink/out/{paylinkId} does the same thing.
To stop a link but keep it on the bill, cancel it instead.
A successful request returns a 200 response confirming the payment link was deleted.
Stored payment preferences
When a vendor completes a payment link, their chosen method and payment details are securely tokenized and stored on their vendor record.
Payabli doesn’t send a webhook when the vendor selects a payment method. Because completing the link authorizes and captures the payout, use the payout webhooks to know when a vendor has completed a payment link, whichever method they chose:
payout_transaction_authorized: Payabli authorized the payout.payout_transaction_approvedcaptured: Payabli captured the payout. This event confirms the vendor completed the link, and itsMethodfield shows the method they chose.payout_transaction_declined: the capture failed. See Manage payouts for the other failure events.
When the vendor chooses ACH, Payabli also sends vendor_ach_payment_method_created after it stores the bank account on the vendor record. Use this event to confirm that the vendor’s ACH method is saved. Its vendorId is the vendor’s ID, the same value you pass as idVendor when you retrieve the vendor. Virtual card and check don’t have a matching event, so rely on the capture event for those methods.
After you receive the capture event or the ACH payment method event, retrieve the vendor’s stored methods by calling GET /api/Vendor/{idVendor}. The response includes a storedMethods array with each method’s idPmethod (stored method ID), method type, and masked account details.
For subsequent payouts, reference the stored method by passing its storedMethodId in the authorize request. See the API reference for full documentation.
A successful request returns a 200 response with the authorization details.
You can also set a default stored method on the vendor record using the defaultMethodId field on the vendor object. This identifies which stored method to use by default for that vendor’s payouts.
For more on authorizing and capturing payouts, see Manage payouts.
Related resources
See these related resources to help you get the most out of Payabli.
Prerequisites
- Manage vendors with the API - Learn how to add and manage vendors with the Payabli API
- Manage bills with the API - Learn how to add and manage bills for vendors via the API
Next steps
- Manage payouts with the API - Learn how to use the Payabli API to create, capture, and cancel payout transactions
References
- Pay Out schemas - Learn about money out statuses and events and how they work together
- Pay Out statuses - Learn about Pay Out statuses