Contact us Login LIVE DEMO FREE TRIAL

list(…)

List user bills.

required subuser rights: payment_create

parameters:

  • limit – maximum number of bills to return (maximum and default 10 000) – optional
  • offset – get bills starting from offset (default 0) – optional

return:

{
    "success": true,
    "count": 7,      // total number of bills
    "bills": [${bill}, ...]  
}

where bill is

{
    "order_id": 63602,                 // unique id
    "created": "2012-03-05 11:55:03",  // creation date/time 
    "sum": 150.0,                      // bill sum in rubbles
    "status": "created",               // bill order status
    "positions": ["The subscription fee for the services of Gdemoi Account W3"],  // list of position names.
                                       // usually contains one element for bill
    "link": "http://bill.gdemoi.ru/xK1QEYK" // url to order
}

If bill created using /bill/create() call then positions will contains exactly one element.

status may be one of:
created – but not settled
settled
canceled
Note for Standalone version: Base part of link may be changed by billing.orders.baseUrl config option.

errors:

  • 222 – Plugin not found (when plugin 29 not available for user)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more