Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Table of Contents
indent25px

...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": "{bangoUserId}",
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "OK"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": "{bangoUserId}",
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "USER_BARRED"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550146


Test

Action

Expected result

1

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": "{bangoUserId}",
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "USER_SUSPENDED"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": "{bangoUserId}",
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "USER_NOT_ENABLED"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": "{bangoUserId}",
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "UNKNOWN"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
  "responseCode": "OK",
  "responseMessage": "Success",
  "bangoUserId": "{bangoUserId}",
  "identificationMethodKey": "{NETWORK_KEY}",
  "status": "INVALID_BANGOUSERID"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
  "responseCode": "NOT_FOUND",
  "responseMessage": "Invalid User ID"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
  "responseCode": "BAD_REQUEST",
  "responseMessage": "Invalid request."
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": "{bangoUserId}",
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "OK"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": {bangoUserId},
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": "OK"
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": {bangoUserId},
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": OK
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": {bangoUserId},
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": OK
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": {bangoUserId},
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": OK
}


...

To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:

...

identificationMethodKey

USA_BANGO
MSISDN12025550120


Test

Action

Expected result

1

Send a GET request to https://api.bango.net/v5/identity/{bangoUserId}

An HTTP response code 200 (OK) should be returned with the following body:

Code Block
{
 "responseCode": "OK",
 "responseMessage": "Success",
 "bangoUserId": {bangoUserId},
 "identificationMethodKey": "{NETWORK_KEY}",
 "status": OK
}


...