curl --request POST \
--url https://api.pricenow.dev/api/checkout/{checkoutId}/payment \
--header 'Content-Type: application/json' \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>' \
--data '
{
"payment": {
"intent": "new",
"type": "CARD",
"redirectUrls": {
"success": "<string>",
"error": "<string>",
"cancel": "<string>"
},
"saveAlias": {},
"options": {
"PAP": {
"fraudSessionId": "<string>"
}
}
}
}
'{
"data": {
"redirectUrl": "<string>"
}
}Create a new payment for a checkout
curl --request POST \
--url https://api.pricenow.dev/api/checkout/{checkoutId}/payment \
--header 'Content-Type: application/json' \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>' \
--data '
{
"payment": {
"intent": "new",
"type": "CARD",
"redirectUrls": {
"success": "<string>",
"error": "<string>",
"cancel": "<string>"
},
"saveAlias": {},
"options": {
"PAP": {
"fraudSessionId": "<string>"
}
}
}
}
'{
"data": {
"redirectUrl": "<string>"
}
}Language of the response
en, de, fr, it UUID of the sales channel
Show child attributes
Successful response
Show child attributes