Excerpt | ||
---|---|---|
| ||
The API services use a RESTful architecture and require HTTP authentication |
. |
All POST and PUT requests expect a data payload to be sent as the HTTP body, together with specific header values. The request payload is always JSON format (which must be specified using the Content-Type header). JSON does not enforce element order within messages and any client implementation must not assume an order within elements.
...
Many API services require the client to specify the charge account number. The account number is specified within the header as Account-Number:
Code Block |
---|
Account-NumberaccountId: 123456 |
If this header is not specified and is required for an API service call, a 400 Bad Request error is returned.
...