Update Payment Link

Allows a user to update payment link details

Path Params
string
required
Defaults to MB-LINK-6BB7CA8DC7

Payment link ID

Body Params
string
length between 1 and 75
Defaults to Chocolate Box - Small

The title of the payment link

string
length ≤ 75
Defaults to 12pcs Chocolate Box

Payment description. This will appear on the payment checkout page.

integer
Defaults to 1

The number of times a payment link can be used. The capacity will be ignored when the subscription params exist.

boolean
Defaults to true
uri
Defaults to https://myawesomewebsite.com/paymentSuccess

The URL which the customer will be redirected to after a successful payment.

uri
Defaults to https://failureurl.com/paymentFailure

The URL which the customer will be redirected to after a failure payment.

uri

The URL to the terms and conditions page, if provided, the customer will be required to accept the terms before proceeding to payment.

number
≥ 2
Defaults to 3
number
≥ 2
Defaults to 119.99

amount could be 0 with save_card 'required' option for card verification

string
enum
Defaults to AED
Allowed:
string
enum
Defaults to standalone
Allowed:
boolean
Defaults to false

Enables the ability for customers to buy now and pay later.

boolean
Defaults to false

Enables the ability for customers to add a message during the checkout process.

boolean
Defaults to false

Enables the tips option. This will be displayed on the first screen.

string
enum
Defaults to off

Allows the merchant to enable the option to store card details to be used later on for Merchant Initiated Transactions.

Allowed:
boolean
Defaults to false

Enables adding customer details such as the name, email, and phone number. This screen will be displayed before the payment details screen.

boolean
Defaults to false

When enabled, customers can specify the number of items they intend to purchase. This quantity will serve as a multiplier for the base amount.

boolean
Defaults to false

Adds the ability to verify a payment through a QR code.

boolean
Defaults to false

Enables the sending of customer receipts.

payment_methods
array

An array of accepted payment methods, card always apart of default option. Example: ['card', 'wallet']

payment_methods
rules
object

Setting the rule for payment link

subscription
object

to be populated if this payment link is for a recurring payment. Otherwise, this property can be left out.

string

The first name of customer which will pre-populate in card info step.

string

The last name of customer which will pre-populate in card info step.

string

The email of customer which will pre-populate in card info step.

string
boolean
Defaults to false

Indicates whether to place the payment on hold and charge it later using the "captures" API.

custom_data
object
payouts_share
object
Headers
string
string
Responses

404

Invalid request

500

Unexpected error

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