Create a payment link
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/paymentlinks \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "jpt-sim-md-1",
"totalAmount": 55,
"description": "<string>"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/paymentlinks"
payload = {
"subMerchantId": "jpt-sim-md-1",
"totalAmount": 55,
"description": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: 'jpt-sim-md-1', totalAmount: 55, description: '<string>'})
};
fetch('https://sandbox-platform.jupico.com/v1/paymentlinks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/paymentlinks';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: 'jpt-sim-md-1', totalAmount: 55, description: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Payment Links
Create a payment link
Creates a shareable payment link. Each customer who opens the link pays on a Jupico-hosted page — no integration code required at the point of sharing.
POST
https://sandbox-platform.jupico.com
/
v1
/
paymentlinks
Create a payment link
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/paymentlinks \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "jpt-sim-md-1",
"totalAmount": 55,
"description": "<string>"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/paymentlinks"
payload = {
"subMerchantId": "jpt-sim-md-1",
"totalAmount": 55,
"description": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: 'jpt-sim-md-1', totalAmount: 55, description: '<string>'})
};
fetch('https://sandbox-platform.jupico.com/v1/paymentlinks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/paymentlinks';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: 'jpt-sim-md-1', totalAmount: 55, description: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
The subMerchantId associated with the payment link.
Example:
"jpt-sim-md-1"
The total amount of the payment link.
Example:
55
The payment link description.
Line items included in the total amount.
Show child attributes
Show child attributes
Adjustments applied to the total, such as discounts or additional fees.
Show child attributes
Show child attributes
Object to edit configuration of created hosted session.
Show child attributes
Show child attributes
Response
Payment link successfully created.
Last modified on August 31, 2026
Was this page helpful?

