{
"amount": 0,
"currencyCode": 36,
"orderId": "string",
"storeId": "string",
"posType": 1,
"paymentChannelId": 1,
"preferredPaymentMethodId": 0,
"collectionPromptChannelId": 0,
"paymentFlowType": 1,
"fee": 0,
"tipAmount": 0,
"terminalId": "string",
"customer": {
"id": "string",
"firstName": "string",
"lastName": "string",
"fullName": "string",
"email": "string",
"phone": "string",
"preferredLanguage": "string",
"type": 1,
"deliveryAddress": {
"fullName": "string",
"firstName": "string",
"lastName": "string",
"addressRow1": "string",
"addressRow2": "string",
"postalArea": "string",
"postalCode": "string",
"countryCode": 4
},
"billingAddress": {
"fullName": "string",
"firstName": "string",
"lastName": "string",
"addressRow1": "string",
"addressRow2": "string",
"postalArea": "string",
"postalCode": "string",
"countryCode": 4
},
"isDeliveryRecipient": true
},
"deviceSpec": {
"os": "string",
"isBrowserBased": true
},
"overrides": {
"useDeepLink": true,
"vivaOptions": {
"isvMerchantId": "string",
"isvSourceCode": "string"
},
"verifoneVimOptions": {
"confirmation": true,
"pinCode": "string"
}
},
"options": {
"epassiOptions": {
"accessKey": "string"
},
"resursOptions": {
"storeId": "string",
"paymentMethodId": "string"
},
"softPayOptions": {
"employeeReference": "string",
"merchantReference": "string",
"tipping": {
"enableTipping": true,
"percentageOptions": [
0
]
}
}
},
"qrCode": "string",
"giftCardIdentifierCode": "string",
"pin": "string",
"orderItems": [
{
"description": "string",
"referenceId": "string",
"quantity": 0,
"quantityUnit": "string",
"amount": 0,
"vatAmount": 0,
"vatRate": 0,
"type": 1
}
]
}curl --location --request POST 'https://sandbox.api.confirmapay.com//v1/payment' \
--header 'Device-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 0,
"currencyCode": 36,
"orderId": "string",
"storeId": "string",
"posType": 1,
"paymentChannelId": 1,
"preferredPaymentMethodId": 0,
"collectionPromptChannelId": 0,
"paymentFlowType": 1,
"fee": 0,
"tipAmount": 0,
"terminalId": "string",
"customer": {
"id": "string",
"firstName": "string",
"lastName": "string",
"fullName": "string",
"email": "string",
"phone": "string",
"preferredLanguage": "string",
"type": 1,
"deliveryAddress": {
"fullName": "string",
"firstName": "string",
"lastName": "string",
"addressRow1": "string",
"addressRow2": "string",
"postalArea": "string",
"postalCode": "string",
"countryCode": 4
},
"billingAddress": {
"fullName": "string",
"firstName": "string",
"lastName": "string",
"addressRow1": "string",
"addressRow2": "string",
"postalArea": "string",
"postalCode": "string",
"countryCode": 4
},
"isDeliveryRecipient": true
},
"deviceSpec": {
"os": "string",
"isBrowserBased": true
},
"overrides": {
"useDeepLink": true,
"vivaOptions": {
"isvMerchantId": "string",
"isvSourceCode": "string"
},
"verifoneVimOptions": {
"confirmation": true,
"pinCode": "string"
}
},
"options": {
"epassiOptions": {
"accessKey": "string"
},
"resursOptions": {
"storeId": "string",
"paymentMethodId": "string"
},
"softPayOptions": {
"employeeReference": "string",
"merchantReference": "string",
"tipping": {
"enableTipping": true,
"percentageOptions": [
0
]
}
}
},
"qrCode": "string",
"giftCardIdentifierCode": "string",
"pin": "string",
"orderItems": [
{
"description": "string",
"referenceId": "string",
"quantity": 0,
"quantityUnit": "string",
"amount": 0,
"vatAmount": 0,
"vatRate": 0,
"type": 1
}
]
}'{
"data": {
"orderId": "string",
"transactionId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"status": 1,
"subStatus": 1000,
"deepLinkUrl": "string",
"customerRedirectUrl": "string",
"merchantRedirectUrl": "string",
"paymentChannelMetaData": {
"verifoneVim": {
"transactionType": 1,
"verifoneVimTerminalTransactionId": "string"
}
}
},
"description": {
"code": "string",
"message": "string"
},
"narrative": {
"code": "string",
"message": "string"
}
}