Generate authentication token
This service provides an access JWT token for the user to use the On Ramp Widget. Endpoint:http://b2b-widget-onramp-api.ripio.com/api/v1/auth
Sandbox:: https://b2b-widget-onramp-api.sandbox.ripio.com/api/v1/auth
Method: POST
Parameters:
| Parameter | Type | Description |
|---|---|---|
username | string | The username is composed of a concatenation of client_id + “:” + external_ref. |
password | string | The password is the client_secret |
external_ref: UUID v4 that represents the user logged into your system. It must be a unique and unrepeatable identifier of a user of your system (Read more about UUID and try using generator). This value is then used in the request for approval of a purchase transaction or when reporting the result of a transaction. (see Webhooks). In the documentation we refer to this value as external_ref.