{
"id": "string",
"companyId": "string",
"providerId": "string",
"customerId": "string",
"checkoutToken": "string",
"amount": 0,
"commissionAmount": 0,
"remittanceInformation": "string",
"provider": "OnePay",
"status": "Submitted",
"paymentDate": "2019-08-24T14:15:22Z",
"creationDate": "2019-08-24T14:15:22Z",
"approvalCode": "string",
"cardType": "Other",
"cardNumber": "string",
"postDating": 0,
"installments": 0,
"bankId": "string",
"transactionId": "string"
}
curl --location --request POST 'https://platform.shopranos.eu/api/checkout/retail/complete/payment/' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"companyId": "string",
"providerId": "string",
"customerId": "string",
"checkoutToken": "string",
"amount": 0,
"commissionAmount": 0,
"remittanceInformation": "string",
"provider": "OnePay",
"status": "Submitted",
"paymentDate": "2019-08-24T14:15:22Z",
"creationDate": "2019-08-24T14:15:22Z",
"approvalCode": "string",
"cardType": "Other",
"cardNumber": "string",
"postDating": 0,
"installments": 0,
"bankId": "string",
"transactionId": "string"
}'
{
"id": "string",
"companyId": "string",
"customerId": "string",
"customerName": "string",
"userEmail": "string",
"userId": "string",
"customerBranchId": "string",
"token": "string",
"notes": "string",
"status": "Start",
"billingAddress": {
"address1": "string",
"address2": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"state": "string",
"country": "string",
"countryCode": "string",
"postalCode": "string",
"phoneNumber": "string",
"email": "user@example.com"
},
"shippingAddress": {
"address1": "string",
"address2": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"state": "string",
"country": "string",
"countryCode": "string",
"postalCode": "string",
"phoneNumber": "string",
"email": "user@example.com"
},
"buyerAcceptsMarketing": true,
"email": "string",
"phone": "string",
"currency": "aed",
"totalAmount": 0,
"netAmount": 0,
"vatAmount": 0,
"discountRate": 0,
"discountValue": 0,
"completedDate": "2019-08-24T14:15:22Z",
"updateDate": "2019-08-24T14:15:22Z",
"insertDate": "2019-08-24T14:15:22Z",
"cartItems": [
{
"productId": "string",
"productTitle": "string",
"productVariantId": "string",
"quantity": 0,
"unit": "string",
"imageLink": "string",
"color": "string",
"material": "string",
"pattern": "string",
"size": "string",
"netValue": 0,
"initialPrice": 0,
"price": 0,
"lineValue": 0,
"discountValue": 0,
"discountRate": 0,
"vatValue": 0,
"vatRate": 0,
"vatCode": "string",
"customDim1Value": "string",
"customDim2Value": "string",
"customDim3Value": "string",
"link": "string"
}
],
"vatAnalysis": [
{
"vatRate": 0,
"vatAmount": 0,
"vatCode": "string",
"netAmount": 0
}
]
}