Create payment link
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer authentication of the form Bearer <token>, where token is your auth token.
Use this method to create a payment link that a customer can use to make a payment for goods or services.
The request includes the following settings:
If your request is successful, our gateway returns a paymentLinkId, which you can use to perform follow-on actions.
Note: To share the payment link with a customer, use our Share Payment Link method.
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Polymorphic object that contains payment link information.
The value of the type parameter determines which variant you should use:
multiUse - Create a link that the merchant can use to take multiple payments.singleUse - Create a link that the merchant can use for only one payment.Successful request. We return a polymorphic object that contains payment link information. The value of the type parameter determines which variant you should use:
multiUse - Create a link that the merchant can use to take multiple payments.singleUse - Create a link that the merchant can use for only one payment.