curl --request POST \
--url https://api.sanka.com/v1/public/payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"contactId": "<string>",
"contactExternalId": "<string>",
"companyId": "<string>",
"companyExternalId": "<string>",
"startDate": "<string>",
"status": "<string>",
"currency": "<string>",
"totalPrice": 123,
"totalPriceWithoutTax": 123,
"entryType": "<string>",
"notes": "<string>"
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"payment_id": "<string>",
"ctx_id": "<string>"
}curl --request POST \
--url https://api.sanka.com/v1/public/payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"contactId": "<string>",
"contactExternalId": "<string>",
"companyId": "<string>",
"companyExternalId": "<string>",
"startDate": "<string>",
"status": "<string>",
"currency": "<string>",
"totalPrice": 123,
"totalPriceWithoutTax": 123,
"entryType": "<string>",
"notes": "<string>"
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"payment_id": "<string>",
"ctx_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.