Generate user auth tokens

[POST] /api/v2/user/tokens

Returns an access and a refresh token to log the user into the pay widget automatically. Used for screens skipping in the Pay Widget.

Request body type:

type RequestBody = {
  email: string;
  countryIsoCode: string;
};

Request body example:

{
  "email": "[email protected]",
  "countryIsoCode": "NG"
}

Response type:

Response example:

Last updated