Properties
| Name | Type | Description |
|---|---|---|
| amount | object | The total amount of the order. |
| expiresAt | string | The date that order expires; e.g. 2019-03-23T12:25:28Z. If not provided, the default expiry duration is 1 day. |
| merchantAccount | string | The merchant account identifier, with which you want to process the order. |
| reference | string | A custom reference identifying the order. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateOrderRequest",
"title": "CreateOrderRequest",
"properties": {
"amount": {
"description": "The total amount of the order.",
"$ref": "#/components/schemas/Amount"
},
"expiresAt": {
"description": "The date that order expires; e.g. 2019-03-23T12:25:28Z. If not provided, the default expiry duration is 1 day.",
"type": "string"
},
"merchantAccount": {
"description": "The merchant account identifier, with which you want to process the order.",
"type": "string"
},
"reference": {
"description": "A custom reference identifying the order.",
"type": "string"
}
},
"required": [
"merchantAccount",
"reference",
"amount"
],
"type": "object"
}