feat: Implement getInvoices graphQL query

This commit is contained in:
Faruk AYDIN
2023-03-26 02:02:36 +03:00
parent bd55b37d5f
commit 1cbf96dff1
6 changed files with 52 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ type Query {
getPaymentPlans: [PaymentPlan]
getPaddleInfo: GetPaddleInfo
getBillingAndUsage: GetBillingAndUsage
getInvoices: [Invoice]
getAutomatischInfo: GetAutomatischInfo
healthcheck: AppHealth
}
@@ -504,6 +505,14 @@ type GetPaddleInfo {
vendorId: Int
}
type Invoice {
id: Int
amount: Float
currency: String
payout_date: String
receipt_url: String
}
type PaymentPlan {
name: String
limit: String