• en
    • fr
Contact : +33(0)4.13.41.50.70
  • en
    • fr

Check your credit

Definition

This web service allows you to recover your credit balance as a number of Euros left on your account.
The result provide your credit in Euros.

 

URL

XML : https://www.octopush-dm.com/api/credit

JSON : https://www.octopush-dm.com/api/credit/json

 

Special parameters

Name Definition
user_login User login (email address).
api_key API key available on your manager.

 

Curl example

curl https://www.octopush-dm.com/api/credit/?user_login=*****%40******.com&api_key=***************

XML Back

<?xml version=”1.0″ encoding=”UTF-8″?>
<octopush>
<error_code>000</error_code>
<credit>5623.34</credit>
</octopush>

JSon Back

{“error_code“:“000”,”credit“:“5623.34”}

Defining XML Tags

Code Definition
error_code Consult the list of errors
credit Your Credit in Euros.