POST
/
payment-links

Body parameters

name
string
required

A String representing the name of the payment link, will not be shown to customers, it helps you to organize payment links.

items
array
required

The items are the products that are being sold.

after_completion_message
string

A message which will be displayed to the customer after a successful payment.

locale
string

The language of the checkout page, accepted values are: ‘ar’, ‘en’ or ‘fr’.

pass_fees_to_customer
boolean

A Boolean value indicating whether the Chargily Pay fees will be paid by you, the merchant, or by your customers.

collect_shipping_address
boolean

A Boolean value indicates whether the shipping address should be collected from the customer.

metadata
key-value array

A Set of key-value pairs that can be used to store additional information about the payment link.

Returns

If the request is successful, it returns a payment link object.