Toshl Developer

Get pamynet

Get a payment.

GET /me/payments/{id}

Required scope:

Parameters

id *
required
string

Payment id.

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/me/payments/42 \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"

Response

HTTP/1.1 200 OK
Content-Type: application/json

{
  "id": "42",
  "type": "apple",
  "period": "monthly",
  "amount": 1.99,
  "currency": "USD",
  "discount": 10,
  "status": "completed",
  "modified": "2012-09-04T13:55:15Z",
  "refund": false,
  "subscription": true
}