Object ID Prefixes

Summary of Prefixes included at the beginning of Object IDs

Preczn uses prefixes at the start of object IDs to help users identify object types quickly. These prefixes indicate the object's type making it easier for users to identify and interpret the represented objects.

Key Points

Legacy Support: The system maintains backward compatibility—all existing IDs such as tokens, transactions, etc that do not have a prefix are still supported via the Preczn APIs and Interfaces.

Implementation Timeline: The prefix system applies to IDs created around July 2023 onward.

Prefix Reference Table

ObjectTest PrefixLive Prefix
API Key - Publicpub_test_pub_
API Key - Privatepriv_test_priv_
Bank Account (Merchant)midBank_test_midBank_
Boarding Domainbrd_test_brd_
Boarding Formform_test_form_
Boarding Form TemplateformTemp_test_formTemp_
Contactcnt_test_cnt_
Loanloan_test_loan_
Merchant AttachmentmidDoc_test_midDoc_
Merchant ConnectionmidCon_test_midCon_
Merchantmid_test_mid_
Merchant Import RecordmidImp_test_midImp_
Merchant LocationmidLoc_test_midLoc_
Owner (Merchant)midOwn_test_midOwn_
Payment Tokentkn_test_tkn_
PlatformLive onlypfm_
Platform ConnectionpfmCon_test_pfmCon_
Platform Domaindmn_test_dmn_
Planplan_test_plan_
PortfolioLive onlyport_
Preczn UserLive onlyuser_
Requirements TemplatereqTemp_test_reqTemp_
SAQsaq_test_saq_
Transactiontxn_test_txn_
Webhook Subscriptionwh_test_wh_
Webhook Attemptwhat_test_what_

ℹ️ Objects marked "Live only"

Platforms, portfolios, and Preczn users exist once per account rather than per mode, so their IDs use a single live prefix with no test-mode equivalent.


Did this page help you?