Create price list

Price lists must exist before you can create card products or perform any other functions with the card module.

Use case

In this example, we will create a price list with the following sample data:

Use case data
API parameters with values

Description of the price list

Validity range of the price list (Date format: YYYY-MM-DD)

Name of the price list that you are creating (This must be a unique value)

Sample API call

To create a price list, use the following endpoint:

https://card-api.sandbox.tuumplatform.com/api/v1/cards/price-list

circle-info

Learn more about the create card price listarrow-up-right endpoint in the Tuum developer portal.

Sample request

The sample request body is as follows:

{
  "description": "Sample price list",
  "validityRange": {
    "endDate": null,
    "startDate": "2023-12-01"
  },
  "priceListCode": "PRICELIST-01"
}

Sample response

Below you will find the response to the API request:

chevron-rightResponsehashtag

Result

The sample price list with the code PRICELIST-01 is created. You can use this code for other functions, such as assigning it to card products, mapping fees, and creating card applications and offers.

Last updated

Was this helpful?