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
| Object | Test Prefix | Live Prefix |
|---|---|---|
| API Key - Public | pub_test | pub_ |
| API Key - Private | priv_test_ | priv_ |
| Bank Account (Merchant) | midBank_test_ | midBank_ |
| Contact | cnt_test_ | cnt_ |
| Merchant Connection | midCon_test_ | midCon_ |
| Merchant | mid_test_ | mid_ |
| Merchant Import Record | midImp_test_ | midImp_ |
| Owner (Merchant) | midOwn_test_ | midOwn_ |
| Payment Token | tkn_test_ | tkn_ |
| Platform | Live only | pfm_ |
| Platform Connection | pfmCon_test_ | pfmCon_ |
| Plan | plan_test_ | plan_ |
| Portfolio | Live only | port_ |
| Preczn User | Live only | user_ |
| Transaction | ` | |
| Webhook Subscription | wh_test_ | wh_ |
| Webhook Attempt | what_test_ | what_ |
Updated 9 days ago
Did this page help you?
