Skip to content
Home » Octopush Gateway SMS API » API Sub-Accounts » Transfer credit

Transfer credit


Encoding : UTF-8


Your “api-key” and “api-login” must be added in the headers.


This service allows you to transfer credit from your main account to a sub-account.

To do this, you need a transfer token. This is a token that authorises a transaction. There can be no more than one valid token.

Special parameters

tokenstringTransfer token obtained in a previous step.
from_wallet_pack_idstringIdentifier of the wallet pack to be debited.
amountintegerTransfer amount in euros.

Curl Example

curl -X POST \ 
'' \ 
-H 'Content-Type: application/json' \ 
-H 'api-key: ************' \ 
-H 'api-login: ******' \ 
-H 'cache-control: no-cache' \ 
-d '{
  "token": "******************************",
  "from_wallet_pack_id": "abc123abc456abc",
  "amount": 25

JSON Server Response

Success : 200 OK