Base URL
Test mode vs live mode is determined by the API key you use, not the URL. Use
test API key (
sk_test_...) for test mode and live API keys (sk_live_...)
for production.Authentication
Authentication depends on whether you’re calling an endpoint from your server or from the client.Server-side Authentication
For server-side requests, send your secret key in theAuthorization header.
Client-side Authentication
For client-side API requests, use theaccessToken returned from a connection as a Bearer token.
Response Format
Responses are returned asJSON with the content-type: application/json header.
Pagination
Some requests, like listing transactions, return paginated results using cursor-based pagination. Each response includes a cursor string that you pass to the next request to fetch the next page. The response includes apageInfo object. If pageInfo.nextCursor is null, there are no more pages. For example:
Rate limits
Currently, requests for this integration are limited to 30 per second.Debugging
Each API response includes a request ID header. Use this ID when working with support:Example
Error Handling
When a request fails (4xx), the API returns an error object with details:Example error response