Message-ID: <792184498.15793.1614958177442.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15792_896327679.1614958177442" ------=_Part_15792_896327679.1614958177442 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Basics - testing with the sandbox - PHP

Basics - testing with the sandbox - PHP

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

A sandbox system is available for testing. The sandbox will not modify y= our account in any way, but in almost all other respects it will respond no= rmally to your requests.
In other words if you use the sandbox to get= the number of credits on your account, it will provide the correct number.= However if you use it to transfer credits between accounts, it will simula= te a successful transfer (assuming you have enough credits on the account, = and provide valid target account details, etc.) but it will not actually mo= dify the number of credits on either account.
Similarly, the sandbox s= ystem will not actually send SMS messages and will not deduct credits for s= imulated sends.


To use the sandbox simply specify sandbox instead of production wh= en you create the wrapper object:

=20
=20
=20
=20
=20
=20
Example
=20
$tmClient =3D new TMRestClient('myuser', 'mypass', 'sandbox');
=20
=20 =20

the values returned when using the sandbox may differ slightly from the = values returned when using the production system.

=20
=20
=20
=20
=20
=20
=20 =20
=20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15792_896327679.1614958177442--