getMyPayments

This query loads the information about user payments.

Arguments

query{
    getMyPayments{
    field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample Query

query{
  getMyPayments{
    id
    userID
    invoiceID
    circlePaymentID
    paymentMethodID
    status
  }
}

Sample Response

{
  "data": {
    "getMyPayments": [
      {
        "id": "84afdda5-f867-462f-bc2d-1fb011eac12b",
        "userID": "196f2a18-30d8-4781-a372-83cdc966004f",
        "invoiceID": "af7649f8-5c6e-4de4-b688-20a97b316726",
        "circlePaymentID": "7b969800-180e-423c-bd43-df5b5115ade7",
        "paymentMethodID": "b2f5cdfd-3550-47ab-a5a2-e21731724ea7",
        "status": "paid"
      }
    ]
  }
}

Fields

Name

Type

Description

Payment

Object

Contains all the information from Payment such as the payment ID, the user ID, the invoice ID, the circle Payment ID, the payment Method ID and the status.

Example

Load a payment data with IDs and status: