Skip to main content
POST
/
api
/
checkout
/
{checkoutId}
/
payment
cURL
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>"
  }
}

Headers

pratiq-client-id
required

Global Webshop Client Id

pratiq-channel-uuid
string

UUID of the sales channel

Path Parameters

checkoutId
string
required

Body

application/json
payment
object
required
  • Option 1
  • Option 2

Response

200 - application/json

Successful response

data
object
required