Skip to main content
POST
/
api
/
payments
/
payment-details
/
register
cURL
curl --request POST \
  --url https://api.pricenow.dev/api/payments/payment-details/register \
  --header 'Content-Type: application/json' \
  --header 'pratiq-client-id: <pratiq-client-id>' \
  --data '
{
  "redirectUrls": {
    "success": "<string>",
    "error": "<string>",
    "cancel": "<string>"
  },
  "isDefault": true,
  "paymentMethods": [
    "TWI"
  ]
}
'
{
  "data": {
    "transactionId": "<string>",
    "redirectUrl": "<string>"
  }
}

Headers

pratiq-client-id
required

Global Webshop Client Id

pratiq-channel-uuid
string

UUID of the sales channel

Body

application/json
redirectUrls
object
required
isDefault
boolean
required
paymentMethods
enum<string>[]

Response

200 - application/json

Successful response

data
object
required