/api/charge

Charge a user some MOBI (GUSER ➞ GDAPP)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Charge the currently authenticated user and optionally forwards the amount to the third-party in the same transaction

$.post(
  'https://yoursite.com/your-app/api/charge',
  { amount: 5.0 },
  function(data) {
    console.log(data);
  }
);
Body Params
float
required

Amount of MOBI to charge

string

Address to forward the charged amount to

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json