Payment Authorization Request - JSON
Copy this code sample.
{
"$id": "https://api.gsicommerce.com/schema/json/payment-authorization-request",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"type": "object",
"properties": {
"createTimestamp": {
"type": "string",
"format": "date-time"
},
"orderInformation": {
"$ref": "Common-Datatypes.json#/$defs/OrderInformation"
},
"paymentMethod": {
"$ref": "Common-Datatypes.json#/$defs/PaymentMethod"
},
"amounts": {
"$ref": "Common-Datatypes.json#/$defs/Amounts"
},
"billingInformation": {
"$ref": "Common-Datatypes.json#/$defs/ContactDetails"
},
"shippingInformation": {
"$ref": "Common-Datatypes.json#/$defs/ContactDetails"
},
"requestId": {
"type": "string",
"minLength": 3
}
},
"required": [
"createTimestamp",
"orderInformation",
"paymentMethod",
"amounts",
"billingInformation",
"requestId"
]
}