Send an invoice
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/invoices/send \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "jpt-sim-md-1",
"invoiceId": "You need to change *this* with invoiceId from invoice creation"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/invoices/send"
payload = {
"subMerchantId": "jpt-sim-md-1",
"invoiceId": "You need to change *this* with invoiceId from invoice creation"
}
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',
invoiceId: 'You need to change *this* with invoiceId from invoice creation'
})
};
fetch('https://sandbox-platform.jupico.com/v1/invoices/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/invoices/send';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: 'jpt-sim-md-1',
invoiceId: 'You need to change *this* with invoiceId from invoice creation'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Invoices
Send an invoice
Emails the invoice to the customer with a link to pay online.
POST
https://sandbox-platform.jupico.com
/
v1
/
invoices
/
send
Send an invoice
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/invoices/send \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "jpt-sim-md-1",
"invoiceId": "You need to change *this* with invoiceId from invoice creation"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/invoices/send"
payload = {
"subMerchantId": "jpt-sim-md-1",
"invoiceId": "You need to change *this* with invoiceId from invoice creation"
}
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',
invoiceId: 'You need to change *this* with invoiceId from invoice creation'
})
};
fetch('https://sandbox-platform.jupico.com/v1/invoices/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/invoices/send';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: 'jpt-sim-md-1',
invoiceId: 'You need to change *this* with invoiceId from invoice creation'
})
};
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
Response
Invoice successfully sent.
Last modified on August 31, 2026
Was this page helpful?

