Skip to main content
POST
Create a Pricing Item

Authorizations

Authorization
string
header
required

Enter token in following format: Bearer

Path Parameters

merchantId
string
required

Body

application/json
key
string | null
required
Maximum string length: 255
type
enum<string> | null
required
Available options:
per,
charge
name
string | null
required
Maximum string length: 255
description
string | null
required
Maximum string length: 255

Response

The created pricing item.

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
key
string | null
required
Maximum string length: 255
type
enum<string> | null
required
Available options:
per,
charge
name
string | null
required
Maximum string length: 255
description
string | null
required
Maximum string length: 255