v3 SMS HTTP
Testing Your Crediting Integration
In order to help you integrate with Mobile Crediting, OpenMarket can configure a test account that does not interact with the mobile operators and as such can be used without incurring crediting charges.
You system can make crediting requests against the following dummy mobile numbers (MSISDNs), which will return a carrierid value of 9990 rather than that of a live mobile operator.
The following table summarises the expected notification results for a given MSISDN. Querying a MSISDN not listed will result in a creditState of confirmed.
Note that when using a test account, where a second notification is specified it will arrive five minutes after the first. In a live situation this period will vary.
MSISDN |
Initial notification |
Second notification |
---|---|---|
447700900000 |
creditState=confirmed |
|
447700900001 |
creditState=confirmed, billingType=postpay |
|
447700900002 |
creditState=confirmed, billingType=prepay |
|
447700900004 |
creditState=failed |
|
447700900005 |
creditState=failed, billingType=postpay |
|
447700900006 |
creditState=failed, billingType=prepay |
|
447700900016 |
creditState=retrying |
creditState=confirmed |
447700900017 |
creditState=retrying |
creditState=confirmed, billingType=postpay |
447700900018 |
creditState=retrying |
creditState=confirmed, billingType=prepay |
447700900020 |
creditState=retrying |
creditState=failed |
447700900021 |
creditState=retrying |
creditState=failed, billingType=postpay |
447700900022 |
creditState=retrying |
creditState=failed, billingType=prepay |