Skip to main content
POST
/
paymentproviders
/
enable
Enable paymentprovider
curl --request POST \
  --url https://api.example.com/paymentproviders/enable \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-environment: <x-environment>' \
  --data '
{
  "name": "<string>",
  "credentials": "<unknown>"
}
'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Headers

x-environment
string<uuid>
required

Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.

Body

application/json

Required.

name
string | null
required
credentials
unknown

Response

Unauthorized

type
string | null
title
string | null
status
integer<int32> | null
detail
string | null
instance
string | null
{key}
any