Credits - TypeScript SDK
Credits method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
(credits)
Overview
Credit management endpoints
Available Operations
- getCredits - Get remaining credits
- createCoinbaseCharge - Create a Coinbase charge for crypto payment
getCredits
Get total credits purchased and used for the authenticated user
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.GetCreditsResponse>
Errors
createCoinbaseCharge
Create a Coinbase charge for crypto payment
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.CreateCoinbaseChargeResponse>