POST
/
PaymentLink
/
{idInvoice}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Headers

idempotencyKey
string

A unique ID you can include to prevent duplicating objects or transactions if a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.

Path Parameters

idInvoice
integer
required

Invoice ID

Query Parameters

mail2
string

List of recipient email addresses. When there is more than one, separate them by a semicolon (;).

amountFixed
enum<string> | null
default:
true

Indicates whether customer can modify the payment amount. A value of true means the amount is not modifiable, a value false means the payor can modify the amount to pay.

Available options:
true,
false

Body

contactUs
object

ContactUs section of payment link page

invoices
object

Invoices section of payment link page

Logo section of payment link page

messageBeforePaying
object

Message section of payment link page

notes
object

Notes section of payment link page

page
object

Page header section of payment link page

paymentButton
object

Payment button section of payment link page

paymentMethods
object

Payment methods section of payment link page

payor
object

Customer/Payor section of payment link page

review
object

Review section of payment link page

settings
object

Settings section of payment link page

Response

200 - application/json
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseData
string

If isSuccess = true, this contains the payment link identifier. If isSuccess = false, this contains the reason of the error.

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Was this page helpful?