API - Payments

/payment/last

Returns the last payments.

Parameters

Return Values

Notes

Exemples

Adresse: http://api.shorten.li
GET /payment/last?uid=VOTRE_ID&secret_key=VOTRE_CLE_SECRETE&limit=2
{
  "status_code": 200,
  "status_txt": "OK",
  "data": [
    {
      "date": "2017-01-01",
      "method": "Paypal",
      "amount": 50.23,
      "state": "Pending",
    },
    {
      "date": "2017-01-02",
      "method": "Paypal",
      "amount": 120.00,
      "state": "Completed",
    }
  ]
}