1. Integration Steps
Aimed at programmers and technical professionals, the examples explain how to:
2. OAuth Bearer Token
The CCBill API Payment Widget uses bearer tokens to authenticate and authorize merchant requests. Before starting the integration process, you need to register your application.
To register your app, contact CCBill Merchant Support and inform them you need a RESTful API setup on your CCBill merchant account.
Once the setup and registration are complete, the Merchant Support team provides the necessary credentials, including the merchant application ID and secret key.
These two parameters are required to call the getOAuthToken
function from your backend and generate the bearer token. Use the token as the value for the apiKey
parameter in your frontend code to ensure secure communication with the CCBill payment system.