Paddle Billing
Search

Paddle IDs

Paddle IDs are unique identifiers for entities in Paddle. They easily identifiable by type and lexicographically sortable.

Every entity in Paddle has a unique identifier, called a Paddle ID. Paddle IDs are made up of a prefix for the kind of entity, followed by a unique string of alphanumeric characters.

Prefixes are typically three characters, but may be longer. They're distinctive, so it's easy to tell what kind of entity you're working with when using a Paddle ID.

Common examples

For example, here are some common Paddle IDs:

EntityPrefixExample
Addressadd_add_01gt202fr8131gahn63v9tczgm
Adjustmentadj_adj_01ghvjt9dbpnndeqjve8cktgqs
Businessbiz_biz_01gsz92krfzy3hcx5h5rtgnfwz
Customerctm_ctm_01gt202fpjt0e63p942gw4ybvh
Discountdsc_dsc_01gt218xfk7yztpvgmcazkes83
Eventevt_evt_01gt261mpgnbg1f3875zx2dsrd
Notificationntf_ntf_01gtyac3x932yhfppx6w9x4zsb
Notification destinationnftset_ntfset_01gtyac3wjcdtjs8csc0219x1p
Productpro_pro_01gsz4vmqbjk3x4vvtafffd540
Pricepri_pri_01gsz91wy9k1yn7kx82aafwvea
Subscriptionsub_sub_01gvne45dvdhg5gdxrz6hh511r
Transactiontxn_txn_01gt261m3y0bngp73j1j8c6dge

Work with IDs

Paddle automatically generates IDs for you when you create entities using the API or dashboard. Use Paddle IDs to refer to entities throughout the Paddle platform.

Create entities

When creating entities using the API, Paddle returns the new Paddle ID for the entity in the response.

Get entities

When reading, updating, or deleting entities, use the ID to refer to the correct entity. For example:

List entities

When working with list endpoints, Paddle uses the Paddle ID of the entity you're working with as the cursor for pagination.

Relate entities

Where entities are related, use Paddle IDs to link them. For example:

Sort by ID

Paddle IDs are lexicographically sortable. Sorting by Paddle ID results in the same order as sorting by the creation date of an entity.

Related pages