Credits - TypeScript SDK
Credits method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Overview
Credit management endpoints
Available Operations
- getCredits - Get remaining credits
- createCoinbaseCharge - Deprecated Coinbase Commerce charge endpoint
getCredits
Get total credits purchased and used for the authenticated user. Provisioning key required.
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.GetCreditsResponse>
Errors
createCoinbaseCharge
Deprecated. This Coinbase Commerce endpoint now returns 410 Gone. Use the web credits
purchase flow instead.