get

List Pricings For Product

Returns specified pricing for a Providers product.

pageint
Default
0
sizeint
Default
50

Responses

Response examples

Successful Response

{
  "items": [
    {
      "name": "string",
      "currency": "string",
      "amount": 123,
      "description": "string",
      "meta": {},
      "type": null,
      "recurring_meta": {},
      "id": "string",
      "tpp_id": "string",
      "prod_id": "string"
    }
  ],
  "total": 123,
  "page": 123,
  "size": 123
}
post

Create Pricing For Tpp Product

Create pricing for a Providers product. Products can have multiple pricing options.

namestring

required

currencystring

required

amountint

required

descriptionstring
metaobject (Meta)
type

An enumeration.

recurring_metaobject (Recurring Meta)

Responses

Request examples

{
  "name": "string",
  "currency": "string",
  "amount": 123,
  "description": "string",
  "meta": {},
  "type": null,
  "recurring_meta": {}
}

Response examples

Successful Response

{
  "name": "string",
  "currency": "string",
  "amount": 123,
  "description": "string",
  "meta": {},
  "type": null,
  "recurring_meta": {},
  "id": "string",
  "tpp_id": "string",
  "prod_id": "string"
}
get

Get Pricing For Tpp Product

Get list of pricings for a Providers product.

price_idstring

required

Responses

Response examples

Successful Response

{
  "name": "string",
  "currency": "string",
  "amount": 123,
  "description": "string",
  "meta": {},
  "type": null,
  "recurring_meta": {},
  "id": "string",
  "tpp_id": "string",
  "prod_id": "string"
}
post

Update Pricing

Updates Provider product pricing.

namestring

required

currencystring

required

amountint

required

descriptionstring
metaobject (Meta)
type

An enumeration.

recurring_metaobject (Recurring Meta)

Responses

Request examples

{
  "name": "string",
  "currency": "string",
  "amount": 123,
  "description": "string",
  "meta": {},
  "type": null,
  "recurring_meta": {}
}

Response examples

Successful Response

{
  "name": "string",
  "currency": "string",
  "amount": 123,
  "description": "string",
  "meta": {},
  "type": null,
  "recurring_meta": {},
  "id": "string",
  "tpp_id": "string",
  "prod_id": "string"
}
delete

Delete Pricing

Deletes Provider product pricing.

price_idstring

required

Responses

Response examples

Successful Response

Empty response

Was this page helpful?