List payments
List of payments made by the user.
GET /me/payments
Required scope:
- payments:r
Parameters
page optional integer
|
Payment page to display, used for pagination. Minimum:>= 0 Default value: 0 |
per_page optional integer
|
Number of payments to return per page. Minimum:>= 10 Maximum: =< 50 Default value: 20 |
type optional string
|
Filter payments by a specific type. Possible values:apple, google, microsoft, g2s, adyen, amazon, bitpay, paypal, unknown |
period optional string
|
Filter payments by a specific period. Possible values:monthly, yearly, 3-years |
level optional string
|
Paying users have different access depending on the subscription level. Possible values:pro, medici |
status optional string
|
Filter payments by a specific status. Possible values:new, redirect, verifying, select_perk, missing_address, completed, error, refund-pending, refunded |
since optional string
|
Return all payments that were modified since timestamp. Format:date-time |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/me/payments \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"