Object ID prefixes
Identify any Preczn object by its ID prefix, with the test and live prefix for each object type.
Every Preczn object ID starts with a prefix that names the object's type. A test-mode ID adds _test_ to the prefix, so mid_test_ is a test merchant and mid_ is a live merchant. To learn how the two modes differ, see Live vs. test mode.
Some older IDs have no prefix. The Preczn APIs and the Dashboard accept them.
Prefixes
Merchants
| Object | Live prefix | Test prefix |
|---|---|---|
| Merchant | mid_ | mid_test_ |
| Merchant connection | midCon_ | midCon_test_ |
| Owner | midOwn_ | midOwn_test_ |
| Bank account | midBank_ | midBank_test_ |
| Attachment | midDoc_ | midDoc_test_ |
| Location | midLoc_ | midLoc_test_ |
| Location connection data | midLocCon_ | midLocCon_test_ |
| Contact | cnt_ | cnt_test_ |
| Merchant import record | midImp_ | midImp_test_ |
Boarding
| Object | Live prefix | Test prefix |
|---|---|---|
| Boarding form | form_ | form_test_ |
| Boarding form template | formTemp_ | formTemp_test_ |
| Boarding domain | brd_ | brd_test_ |
| Requirements template | reqTemp_ | reqTemp_test_ |
| SAQ | saq_ | saq_test_ |
Payments and lending
| Object | Live prefix | Test prefix |
|---|---|---|
| Transaction | txn_ | txn_test_ |
| Payment token | tkn_ | tkn_test_ |
| Plan | plan_ | plan_test_ |
| Loan | loan_ | loan_test_ |
Platform and account
| Object | Live prefix | Test prefix |
|---|---|---|
| Platform | pfm_ | None (live only) |
| Platform connection | pfmCon_ | pfmCon_test_ |
| Platform domain | dmn_ | dmn_test_ |
| Portfolio | port_ | None (live only) |
| Preczn user | user_ | None (live only) |
| Public API key | pub_ | pub_test_ |
| Private API key | priv_ | priv_test_ |
Webhooks
| Object | Live prefix | Test prefix |
|---|---|---|
| Webhook subscription | wh_ | wh_test_ |
| Webhook attempt | what_ | what_test_ |
Objects with no test prefix
Platforms, portfolios, and Preczn users exist once per account rather than once per mode, so their IDs use one prefix in both modes.
Updated 11 days ago
Did this page help you?
