All URIs are relative to https://{customerId}.billabear.cloud/api/v1
Method | HTTP request | Description |
---|---|---|
ChargeInvoice | Post /invoice/{invoiceId}/charge | Charge Invoice |
DownloadInvoice | Get /invoice/{invoiceId}/download | Download Invoice |
GetInvoicesForCustomer | Get /customer/{customerId}/invoices | List Customer Invoices |
InlineResponse20014 ChargeInvoice(ctx, invoiceId) Charge Invoice
Attempts to charge a card that is on file for the invoice amount
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
invoiceId | string | The id of the invoice |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File DownloadInvoice(ctx, invoiceId) Download Invoice
Returns the pdf blob for the invoice
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
invoiceId | string | The id of the invoice |
- Content-Type: Not defined
- Accept: application/pdf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2006 GetInvoicesForCustomer(ctx, customerId) List Customer Invoices
List Customer Invoices
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerId | string | The id of the customer to retrieve |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]