Skip to navigation

Manage vendor payment links

Generate, send, and manage payment links for bills so vendors can choose their preferred payment method
View as MarkdownOpen in Claude
Applies to:Developers

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.

MethodDescriptionDelivery speed
Virtual card (vCard)A single-use virtual credit card delivered to the vendor via secure email. Includes card number, expiration, and CVV behind MFA.Same day or next day
ACH transferA direct electronic bank transfer. Same-day and standard options available depending on underwriting approval.1 – 3 business days
CheckA physical check generated and mailed to the vendor’s address on file.5 – 14 business days

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.

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 transfer
  • vcard — offer virtual card
  • check — 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.

POST
/api/PaymentLink/bill/:billId
curl -X POST https://api-sandbox.payabli.com/api/PaymentLink/bill/54323 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"contactUs": {
"emailLabel": "Email",
"enabled": true,
"header": "Contact Us",
"order": 0,
"paymentIcons": true,
"phoneLabel": "Phone"
},
"logo": {
"enabled": true,
"order": 0
},
"messageBeforePaying": {
"enabled": true,
"label": "Please review your payment details",
"order": 0
},
"notes": {
"enabled": true,
"header": "Additional Notes",
"order": 0,
"placeholder": "Enter any additional notes here",
"value": ""
},
"page": {
"description": "Get paid securely",
"enabled": true,
"header": "Payment Page",
"order": 0
},
"paymentButton": {
"enabled": true,
"label": "Pay Now",
"order": 0
},
"paymentMethods": {
"allMethodsChecked": true,
"allowMultipleMethods": true,
"defaultMethod": "vcard",
"enabled": true,
"header": "Payment Methods",
"methods": {
"ach": true,
"check": true,
"vcard": true
},
"order": 0,
"showPreviewVirtualCard": true
},
"review": {
"enabled": true,
"header": "Review Payment",
"order": 0
},
"settings": {
"color": "#000000",
"language": "en"
}
}'

A successful request returns a 200 response with the payment link ID.

Response
{
"isSuccess": true,
"responseText": "Success",
"responseData": "2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"
}

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.

GET
/api/PaymentLink/send/:payLinkId
curl -G https://api-sandbox.payabli.com/api/PaymentLink/send/2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234 \
-H "Authorization: Bearer <token>" \
--data-urlencode "mail2=jo@example.com; ceo@example.com"

A successful request returns a 200 response with the payment link ID.

Response
{
"isSuccess": true,
"responseText": "Success",
"responseData": "2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"
}

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 mail2 or 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.

Send a GET request to /api/PaymentLink/{payLinkId} to retrieve information about a specific payment link. See the API reference for full documentation.

GET
/api/PaymentLink/load/:paylinkId
curl https://api-sandbox.payabli.com/api/PaymentLink/load/2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234 \
-H "Authorization: Bearer <token>"

A successful request returns a 200 response with the payment link details.

Response
{
"responseText": "Success",
"isSuccess": true,
"responseData": {
"AdditionalData": {
"key1": {
"key": "value"
},
"key2": {
"key": "value"
},
"key3": {
"key": "value"
}
},
"Credentials": [
{}
],
"LastAccess": "2022-06-30T15:01:00Z",
"PageContent": {
"amount": {
"enabled": true
},
"autopay": {
"enabled": true
},
"contactUs": {
"enabled": true
},
"entry": "8cfec329267",
"invoices": {
"enabled": true
},
"logo": {
"enabled": true
},
"messageBeforePaying": {
"enabled": true
},
"name": "name",
"notes": {
"enabled": true
},
"page": {
"enabled": true
},
"paymentButton": {
"enabled": true
},
"paymentMethods": {
"enabled": true
},
"payor": {
"enabled": true
},
"review": {
"enabled": true
},
"subdomain": "mypage-1"
},
"pageIdentifier": "null",
"PageSettings": {
"color": "color",
"customCssUrl": "customCssUrl",
"language": "language",
"redirectAfterApprove": true,
"redirectAfterApproveUrl": "redirectAfterApproveUrl"
},
"published": 1,
"ReceiptContent": {
"amount": {
"enabled": true
},
"contactUs": {
"enabled": true
},
"details": {
"enabled": true
},
"logo": {
"enabled": true
},
"messageBeforeButton": {
"enabled": true
},
"page": {
"enabled": true
},
"paymentButton": {
"enabled": true
},
"paymentInformation": {
"enabled": true
},
"settings": {
"enabled": true
}
},
"Subdomain": "mypage-1",
"totalAmount": 1.1,
"validationCode": "validationCode"
}
}

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:

StatusMeaningCan change to
ActiveThe vendor can open and complete the link.Expired, Canceled, Deleted
ExpiredThe link passed its expiration date, or you set it to Expired.Active (with a new expiration date), Deleted
CanceledYou canceled the link. Canceling is permanent.Deleted
DeletedYou deleted the link.None

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:

PATCH
/api/PaymentLink/out/:paylinkId
curl -X PATCH https://api-sandbox.payabli.com/api/PaymentLink/out/2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"expirationDate": "2027-06-01"
}'

A successful request returns a 200 response with the payment link ID.

Response
{
"isSuccess": true,
"responseText": "Success",
"responseData": "2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"
}

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.

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.

PATCH
/api/PaymentLink/out/:paylinkId
curl -X PATCH https://api-sandbox.payabli.com/api/PaymentLink/out/2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"status": "Canceled"
}'

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:

PATCH
/api/PaymentLink/updateOut/:paylinkId
curl -X PATCH https://api-sandbox.payabli.com/api/PaymentLink/updateOut/2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"paymentButton": {
"enabled": true,
"label": "Choose Payment Method",
"order": 0
},
"paymentMethods": {
"allMethodsChecked": false,
"allowMultipleMethods": true,
"defaultMethod": "vcard",
"enabled": true,
"header": "Payment Methods",
"methods": {
"ach": true,
"check": false,
"vcard": true
},
"order": 0,
"showPreviewVirtualCard": true
}
}'

A successful request returns a 200 response with the payment link ID.

Response
{
"isSuccess": true,
"responseText": "Success",
"responseData": "2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"
}

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.

DELETE
/api/PaymentLink/:payLinkId
curl -X DELETE https://api-sandbox.payabli.com/api/PaymentLink/2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234 \
-H "Authorization: Bearer <token>"

A successful request returns a 200 response confirming the payment link was deleted.

Response
{
"isSuccess": true,
"responseText": "Success",
"responseData": "2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"
}

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:

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.

POST
/api/MoneyOut/authorize
curl -X POST https://api-sandbox.payabli.com/api/MoneyOut/authorize \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"entryPoint": "8cfec329267",
"paymentMethod": {
"method": "ach",
"storedMethodId": "1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-456"
},
"paymentDetails": {
"totalAmount": 47
},
"vendorData": {
"vendorNumber": "VEN-123"
},
"source": "api",
"orderDescription": "Window Painting",
"invoiceData": [
{
"billId": 54323
}
],
"autoCapture": true
}'

A successful request returns a 200 response with the authorization details.

Response
{
"responseCode": 1,
"pageIdentifier": null,
"roomId": 0,
"isSuccess": true,
"responseText": "Success",
"responseData": {
"authCode": null,
"referenceId": "129-219",
"resultCode": 1,
"resultText": "Authorized",
"avsResponseText": null,
"cvvResponseText": null,
"customerId": 456,
"vendorId": 456,
"methodReferenceId": null
}
}

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.

See these related resources to help you get the most out of Payabli.