Headers
Global Webshop Client Id
UUID of the sales channel
Path Parameters
Body
application/json
- Option 1
- Option 2
Response
200 - application/json
Successful response
curl --request POST \
--url https://api.pricenow.dev/api/checkout/{checkoutId}/payment \
--header 'Content-Type: application/json' \
--header 'pratiq-client-id: <pratiq-client-id>' \
--data '
{
"payment": {
"type": "CARD",
"intent": "new",
"redirectUrls": {
"success": "<string>",
"error": "<string>",
"cancel": "<string>"
},
"options": {
"PAP": {
"fraudSessionId": "<string>"
}
},
"saveAlias": {}
}
}
'{
"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 'pratiq-client-id: <pratiq-client-id>' \
--data '
{
"payment": {
"type": "CARD",
"intent": "new",
"redirectUrls": {
"success": "<string>",
"error": "<string>",
"cancel": "<string>"
},
"options": {
"PAP": {
"fraudSessionId": "<string>"
}
},
"saveAlias": {}
}
}
'{
"data": {
"redirectUrl": "<string>"
}
}Global Webshop Client Id
UUID of the sales channel
Show child attributes
Successful response
Show child attributes