Bango uses cookies to give you the best website experience. By using this website you agree to let Bango use cookies. More info
OK
Bango Developer
  1. Bango Payment
  2. Identifying users
  3. Identity selection and methods

Identity selection and methods

How the Bango Platform identifies a user

The Bango Payment API's Identity resource (the /v5/identity API endpoint) uses several sources of information to try to identify the user. These include:

  • Parameters included in the API request
  • Information about the device being used
  • Historic information stored in the Bango Platform

Where possible, the API responds with the Bango ID immediately. Alternatively, the API responds with an action the Bango Platform wants the store to perform.

Choosing the best method

The Bango Platform feeds all available information into a set of identity rules. These rules can be specific to your store, and can be adjusted using information you provide in the API request. For example, if you know you want to use Direct Carrier Billing for a specific Mobile Network Operator and you know that operator already, you should provide that information in your Bango Payment API request so it won't use other methods to identify the user.

The Bango Platform Operations team can configure what happens when your information is incorrect or ambiguous, to ensure you can still identify the user without changing any code. For example, this allows for successful identification if you supply the details of one Mobile Network Operator and Bango can determine that the user is authenticated on that device but with a different Mobile Network Operator.

Identification methods

Here's a table showing some methods the Bango Platform uses to identify the user. In your store code, make requests to the Identity resource API endpoint and then take action according to the response. The third column in the table shows which action the Bango Payment API includes in the response for each method.

MethodDescriptionCLIENT_ACTION_REQUIRED action
Header enrichment

When a device connects through a Mobile Network Operator's data network, the operator frequently enriches the HTTP requests to the Bango Platform and injects an identity in the request. Bango then reads this identity and associates it with a Bango ID.

REDIRECT
Third-party web flow

Bango can make use of third-party identification flows, such as those required by some Mobile Network Operators. These might implement Open ID or a bespoke identity mechanism. The Bango Platform manages the third party's proprietary ID, associating it with a Bango ID.

REDIRECT
Previously stored secure cookie

Bango may be able to store a secure cookie on a device when a user is identified. If that cookie is present and has not expired on a later identification attempt, the Bango Platform can use this cookie to retrieve the Bango ID for the user.

REDIRECT

The Bango Identity Flow, hosted on Bango servers, underpins these methods and helps to select the most appropriate method to use.

Copyright © 2000–2023 Bango.net Limited