Send invoice content
sendInvoiceContentDescription
Request and response
Examples come from OpenAPI and are read-only here. Run requests in the Sandbox section.
XML 2.9 request fields
sendInvoiceContent| Request fields | Type | Req. | Description |
|---|---|---|---|
SendInvoiceContentRequest | object & object | required | |
ProjectID | integer (int32) | required | Project ID in the Platform system. Assigned during project setup. |
InvoiceInfo | object | required | Invoice reference by InvoiceID or MerchantOrderID. At least one must be provided. |
InvoiceID | string | optional | |
MerchantOrderID | string | optional | Order ID in Merchant's system |
WapPushContent | object & object | optional | +3 |
MerchantContentID | string | optional | |
Header | string | required | |
Link | string | required | |
SmsContent | object & object | optional | +2 |
MerchantContentID | string | optional | |
BodyText | string | required | |
Header | object | required | Request header with authentication. Included in every API request. |
Authentication | object | required | Request authentication data. All three fields are mandatory for every request. |
Login | string | required | Merchant Login assigned by the Platform |
NowUtc | string | required | Current UTC time in yyyyMMddHHmmss format. Must not differ from platform system time by more than 20 minutes. |
Signature | string | required | HMAC request signature. Calculated as: LOWERCASE(HMACSHA256(Password, Login + LOWERCASE(HMACSHA256(Password, NowUtc)))) |
RequestAttempt | integer (int32) | optional | Ordinal invoice request number (for idempotency). Starting from 0. |
Gateway | object | optional | +3 |
Signature | string | optional | |
ContractInfo | object | optional | +1 |
DesiredExpirationTimeUtc | string (date-time) | optional |
Parameters and headers
| Name | In | Required | Description |
|---|---|---|---|
Callisto-Protocol-Version | header | yes | |
SignatureVersion | header | no |
Responses
Full error codes are in Error codes.