Okra IDs
Dive deep into the different IDs that Okra uses and learn how you can ensure data continuity in your app.
This guide helps you understand the most important IDs that the Okra API uses, and offer some general best practices on how you can ensure data continuity in you applications.
The Okra API uses universal unique identifiers (uuid
s) to identify specific data properties and records. These IDs are used across multiple endpoints to refer to the same information. For example, you can use a customer id
to retrieve a user’s KYC profile, then use the same customer id
to retrieve the user’s account balance for their connected accounts.
Customer ID
Account ID
Product IDs
Record ID
Bank ID
Use bank IDs to retrieve data from endpoints like NUBAN verify, Get identity by NUBAN, Get transactions by bank, and so on.
Custom IDs and metadata
The Okra API enables you to pass in custom IDs and key-value pairs when you set up your Okra app.
For example, each user in your application has a unique ID like user-123
. You can define this ID as an option when building your app through the buildWithOptions
method. When a user links their account in this app, the API returns the custom ID you defined, along with the standard Okra IDs. You can use this custom ID to retrieve data by options on specific endpoints like Get balance by options, or Get payments by options.
Example snippets for custom IDs
Visit the Embed your app guide to understand how to set up your app using the buildWithOptions
method. Check out the App properties for more details on how to set up metadata and tracking.
Need help?
- If you encounter any errors during your integration journey, check out the Error documentation.
- If you have any questions about Okra's products or way of working, get in touch with the Support team.
- If you have technical questions or need help with your code, join Okra's Developer Community on Slack.
Was this page helpful?