Create a new payment link

Required permissions for this API:

  • WRITE:FINANCE
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
number

The payment amount. For Fixed pricing only.

collectableShopperInfo
object

Every payment link requires the shopper to enter their name and email address. Additionally, you can request information for the following fields on each payment link.

string

Airwallex assigned account identifier of the connected entity(another account which is linked with platform). It is to be used by the platform to indicate the connected entity in the transaction where platform is the owner of transaction. Notice: This can not be used with x-on-behalf-of header together.

string

The payment currency. For Fixed pricing only.

string

The Customer who is paying for this PaymentLink. Only applicable for links with reusable equals to false. This field is required if you want the payer to see the payment methods saved in the previous checkouts.

string

The default payment currency from the list of supported_currencies. The shopper can change the payment currency during checkout. For Flexible pricing only.

string

The additional description text that appears under the title in the payment checkout page.

string

Payment link expiry timestamp in ISO 8601 format.

metadata
object

A set of key-value pairs that you can attach to the PaymentLink for storing additional information.

string

A reference only visible to the merchant.

boolean
required

Specifies whether the payment link can be used once or multiple times.

supportedCurrencies
array of strings

List of supported currencies the shopper may choose from. For Flexible pricing only.

supportedCurrencies
string
required

The title of the payment link that is displayed in the payment checkout page.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json