{
"checkoutToken": "string",
"amount": 0,
"email": "string",
"phone": "string",
"message": "string",
"providerId": "string",
"redirectUrl": "string",
"cancelUrl": "string",
"locale": "string",
"currency": "aed",
"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"
},
"serviceAmount": 0,
"vatAmount": 0,
"lines": [
{
"productTitle": "string",
"quantity": 0,
"unitPrice": 0,
"price": 0,
"vatRate": 0,
"vatValue": 0,
"lineValue": 0,
"discountValue": 0,
"discountRate": 0,
"sku": "string",
"unit": "string",
"paymentLineType": "Product"
}
]
}
curl --location --request POST 'https://platform.shopranos.eu/api/payments/PayPal/initiate' \
--header 'Content-Type: application/json' \
--data-raw '{
"checkoutToken": "string",
"amount": 0,
"email": "string",
"phone": "string",
"message": "string",
"providerId": "string",
"redirectUrl": "string",
"cancelUrl": "string",
"locale": "string",
"currency": "aed",
"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"
},
"serviceAmount": 0,
"vatAmount": 0,
"lines": [
{
"productTitle": "string",
"quantity": 0,
"unitPrice": 0,
"price": 0,
"vatRate": 0,
"vatValue": 0,
"lineValue": 0,
"discountValue": 0,
"discountRate": 0,
"sku": "string",
"unit": "string",
"paymentLineType": "Product"
}
]
}'
{}