curl --request POST \
--url https://api.zenskar.com/payments/invoice/{invoice_id}/charge \
--header 'Content-Type: application/json' \
--header 'organisation: <api-key>' \
--header 'x-api-key: <api-key>' \
--data '
{
"connector": {
"name": "<string>",
"reference_id": "<string>"
},
"source": "<string>",
"payment_method_types": [
"<string>"
],
"skip_invoice_due_date_check": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a new charge for a specific invoice
curl --request POST \
--url https://api.zenskar.com/payments/invoice/{invoice_id}/charge \
--header 'Content-Type: application/json' \
--header 'organisation: <api-key>' \
--header 'x-api-key: <api-key>' \
--data '
{
"connector": {
"name": "<string>",
"reference_id": "<string>"
},
"source": "<string>",
"payment_method_types": [
"<string>"
],
"skip_invoice_due_date_check": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response