v1
latestOpenAPI 3.0.02026-07-246335313.6 KBPayment APIs
Update the Payment Link
Update a payment link. In response you will get the updated Payment Link details.
put/api/update-paylink/{payment_link_ref}
Path parameters
payment_link_refstring required
Headers
Content-Typestring
X-Portone-Client-Keystring
X-Portone-SubMerchant-Keystring
Authorizationstring
The Authorization header is used to include the JWT for authenticating API requests; learn how to generate the token <a href="/docs/jwt-authentication" target="_blank">in this guide</a>
Request body
Example request
{
"billing_details": {
"billing_name": "First Middle",
"billing_surname": "Last",
"billing_email": "test@gmail.com",
"billing_phone": "8959893980",
"billing_address": {
"city": "Singapore",
"country_code": "SG",
"country_name": "Singapore",
"locale": "en",
"line_1": "20 WOODLANDS",
"line_2": "LINK 04-20",
"postal_code": "738733",
"state": "Singapore"
}
},
"shipping_details": {
"shipping_name": "First Middle",
"shipping_surname": "Last",
"shipping_email": "test@gmail.com",
"shipping_phone": "8959893980",
"shipping_address": {
"city": "Singapore",
"country_code": "SG",
"country_name": "Singapore",
"locale": "en",
"line_1": "20 WOODLANDS",
"line_2": "LINK 04-20",
"postal_code": "738733",
"state": "Singapore"
}
},
"merchant_details": {
"name": "Nike",
"back_url": "https://demo.portone.cloud/checkout.html",
"promo_code": "testcode"
}
}Response
Successful response
Example response
{
"billing_details": {
"billing_name": "First Middle",
"billing_surname": "Last",
"billing_email": "test@gmail.com",
"billing_phone": "8959893980",
"billing_address": {
"city": "Singapore",
"country_code": "SG",
"country_name": "Singapore",
"locale": "en",
"line_1": "20 WOODLANDS",
"line_2": "LINK 04-20",
"postal_code": "738733",
"state": "Singapore"
}
},
"shipping_details": {
"shipping_name": "First Middle",
"shipping_surname": "Last",
"shipping_email": "test@gmail.com",
"shipping_phone": "8959893980",
"shipping_address": {
"city": "Singapore",
"country_code": "SG",
"country_name": "Singapore",
"locale": "en",
"line_1": "20 WOODLANDS",
"line_2": "LINK 04-20",
"postal_code": "738733",
"state": "Singapore"
}
},
"merchant_details": {
"name": "Nike",
"back_url": "https://demo.portone.cloud/checkout.html",
"promo_code": "testcode"
}
}