List Payments

GET /payments

Retrieve a paginated collection of Payments belonging to your Organization

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Query parameters

  • page integer

    Page number of the results to fetch.

    Default value is 1.

  • page_size integer

    Results per page (max 50)

    Default value is 20.

Responses

GET /payments
curl \
 -X GET https://api.arta.io/payments \
 -H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "items": [
    {
      "id": 1,
      "amount": "502.25",
      "context": "hosted_checkout",
      "paid_on": "2021-02-19",
      "created_at": "2021-02-19T19:09:57.954437",
      "updated_at": "2021-02-19T19:09:57.954437",
      "amount_currency": "USD"
    }
  ],
  "metadata": {
    "page": 1,
    "page_size": 20,
    "total_count": 1
  }
}