payments

List the payments an account has made, with their receipt links; returns one page of payments with amounts in minor currency units. Requires account.billing.read.

Arguments

  • inputPaymentListInput

  • input.sortByString

    date or amount. Pages follow Stripe order, newest first; sorting orders the returned page only.

  • input.sortOrderString

    asc or desc. Defaults to desc.

  • input.limitInt

    Maximum number of payments to return, 1 to 100. Defaults to 20.

  • input.cursorString

    Opaque cursor pointing at the next page. Omit it to read the first page.

Responses

query Payments {  payments {    data {      id      status      paid      amount      currency      createdAt      description      receiptUrl      invoiceId      paymentIntentId    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "payments": {      "data": [        {          "id": "string",          "status": "string",          "paid": false,          "amount": 0,          "currency": "string",          "createdAt": "string",          "description": "string",          "receiptUrl": "https://example.com",          "invoiceId": "string",          "paymentIntentId": "string"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The PaymentPage! in data.payments.