Table of Contents | ||
---|---|---|
|
Success scenarios
2.1 User status: OK
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.2 User 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 |
---|---|
MSISDN | 12025550120 |
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:
|
2.3 User 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 |
---|---|
MSISDN | 12025550146 |
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:
|
2.4 User 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 |
---|---|
MSISDN | 12025550120 |
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:
|
2.5 User status: Unknown
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
Failure scenarios
2.6 Error response: Invalid BangoUserId (closed account)
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.7 Error response: Not found (incorrect UserId)
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.8 Error response: Bad request
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.9 Error response: Service unavailable
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.10 Error response: Internal error
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.11 Error response: Connect error
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.12 Error response: Connect timeout
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.13 Error response: Failure
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
2.14 Error response: Unauthorized
To use Bango's test payment provider 'TestPay' to test these scenarios generate a userId using the following details:
...
identificationMethodKey | USA_BANGO |
---|---|
MSISDN | 12025550120 |
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:
|
...