Refresh Rampable Token
This method allows you to refresh your Rampable access token.
Method Signature
async refreshRampableToken(rampableAccessToken: string): Promise<string>
Parameters
rampableAccessToken
: string
- The current Rampable access token that you want to refresh.
ℹ️
A valid rampableAccessToken
is required to refresh the token.
Returns
Promise<string>
- The new Rampable access token.
Example Usage
const newToken = await sdk.refreshRampableToken("your_current_access_token");
console.log(newToken);
ℹ️
Ensure to securely store the new access token for future use.