Credits - TypeScript SDK
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:
React hooks and utilities
This method can be used in React components through the following hooks and associated utilities.
Check out this guide for information about each of the utilities below and how to get started using React hooks.
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:
React hooks and utilities
This method can be used in React components through the following hooks and associated utilities.
Check out this guide for information about each of the utilities below and how to get started using React hooks.
Parameters
Response
Promise<operations.CreateCoinbaseChargeResponse>