No description
customer
CreateCustomer
Create a customer
POST:/customer
No description
payment-method
CreatePaymentMethod
Create payment and by accepting it add a new payment-method
POST:/customer/{customerId}/payment-method
No description
customer
DeleteCustomer
Delete a customer
DELETE:/customer/{customerId}
No description
payment-method
DeletePaymentMethod
Delete a payment method
DELETE:/customer/{customerId}/payment-method/{paymentMethodId}
No description
customer
GetCustomer
Get a customer
GET:/customer/{customerId}
No description
payment-method
GetPaymentMethod
Get a payment-method
GET:/customer/{customerId}/payment-method/{paymentMethodId}
No description
invoice, customer
ListCustomerInvoices
List all invoices of a customer
GET:/customer/{customerId}/invoice
No description
subscription, customer
ListCustomerSubscriptions
List all subscriptions of a customer
GET:/customer/{customerId}/subscription
No description
customer
ListCustomers
List all customers or search by email
GET:/customer
Optional
query: { email?: string }Optional
email?: stringNo description
payment-method
ListPaymentMethods
Get all payment-methods of a customer
GET:/customer/{customerId}/payment-method
No description
customer
PatchCustomer
Patch a customer
PATCH:/customer/{customerId}
No description
invoice
GenerateInvoiceDownloadLink
Generate a download link for an invoice
GET:/invoice/{invoiceId}/generate-download-link
No description
invoice
GetInvoice
Get an invoice
GET:/invoice/{invoiceId}
No description
invoice
ListInvoices
List invoices
GET:/invoice
No description
invoice
PatchInvoice
Patch an invoice
PATCH:/invoice/{invoiceId}
Optional
status?: stringNo description
payment
GetPayment
Get a payment
GET:/payment/{paymentId}
No description
payment
ListPayments
List payments
GET:/payment
No description
project
CreateProject
Create a project
POST:/project
No description
project
DeleteProject
Delete a project
DELETE:/project/{projectId}
No description
project
GetProject
Get a project
GET:/project/{projectId}
No description
project
ListProjects
Get all projects
GET:/project
No description
project
PatchProject
Patch a project
PATCH:/project/{projectId}
No description
subscription
CreateSubscription
Create a subscription
POST:/subscription
Optional
metadata?: objectNo description
subscription
GetSubscription
Get a subscription
GET:/subscription/{subscriptionId}
No description
subscription, invoice
ListSubscriptionInvoices
List all invoices of a subscription
GET:/subscription/{subscriptionId}/invoice
No description
subscription
ListSubscriptions
List all subscriptions
GET:/subscription
No description
subscription
PatchSubscription
Patch a subscription
PATCH:/subscription/{subscriptionId}
Optional
error?: stringOptional
metadata?: objectOptional
priceOptional
status?: "error" | "active" | "paused" | "canceled"Optional
units?: numberProtected
addOptional
rawQuery: QueryParamsTypeProtected
toOptional
rawQuery: QueryParamsTypeGenerated using TypeDoc
Title
Gringotts api
Version
0.1.0
Base Url
http://localhost:7171/api
Documentation for the Gringotts api