Skip to main content
PUT
/
v1
/
channel
/
payment-rules
Payment Rules
curl --request PUT \
  --url https://scx-sbx.api.jtl-software.com/v1/channel/payment-rules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "supportedPaymentMethodList": [
    {
      "paymentMethodId": "PM011",
      "displayName": "CreditCard"
    }
  ]
}
'
{
  "errorList": [
    {
      "code": "VAL100",
      "message": "Required field sellerId not found",
      "severity": "error",
      "hint": "Check the field `sellerId` — it must be a non-empty string."
    }
  ]
}

Authorizations

Authorization
string
header
required

As a Channel Integrator you will receive a API Refresh Token. With such a Refresh Token you need to request an Access Token with a limited Lifetime (see POST /v1/auth). This Access Token must be provided as a Bearer Token in the Authorization Header with every request.

Body

application/json

Set of payment rules (payment methods, currencies) supported by the channel.

Payment rules supported by the channel — list of accepted payment methods.

supportedPaymentMethodList
object[]
required

Response

Payment Rules Created