BTCPay Server integration (Finance). Imported from open-connector.
{base_url}/stores
/stores/{storeId}
| Param | Type | Required | Description |
|---|---|---|---|
| storeId | string | required | The BTCPay Server store ID. |
/stores/{storeId}/invoices
| Param | Type | Required | Description |
|---|---|---|---|
| storeId | string | required | The BTCPay Server store ID. |
| orderIds | array | optional | Order IDs to fetch invoices for. BTCPay Server receives each value as an orderI… |
| textSearch | string | optional | Search term that helps locate specific invoices. |
| status | string | optional | The BTCPay Server invoice status. |
| startDate | number | optional | Unix timestamp in seconds. |
| endDate | number | optional | Unix timestamp in seconds. |
| includePaymentMethods | boolean | optional | Whether payment methods should be included in the invoice response. |
| take | integer | optional | Number of records returned in the response. |
| skip | integer | optional | Number of records to skip. |
/stores/{storeId}/invoices/{invoiceId}
| Param | Type | Required | Description |
|---|---|---|---|
| storeId | string | required | The BTCPay Server store ID. |
| invoiceId | string | required | The BTCPay Server invoice ID. |
/stores/{storeId}/invoices
| Param | Type | Required | Description |
|---|---|---|---|
| storeId | string | required | The BTCPay Server store ID. |
| amount | string | optional | Invoice amount as a decimal string. Omit this for a top-up invoice. |
| currency | string | optional | Invoice currency code. If omitted, BTCPay Server uses the store default currenc… |
| metadata | object | optional | Additional invoice metadata accepted by BTCPay Server, such as orderId, buyerEm… |
| additionalSearchTerms | array | optional | Additional search terms used to find the invoice through text search. |
/stores/{storeId}/invoices/{invoiceId}
| Param | Type | Required | Description |
|---|---|---|---|
| storeId | string | required | The BTCPay Server store ID. |
| invoiceId | string | required | The BTCPay Server invoice ID. |
| metadata | object | required | Additional invoice metadata accepted by BTCPay Server, such as orderId, buyerEm… |
/stores/{storeId}/invoices/{invoiceId}/status
| Param | Type | Required | Description |
|---|---|---|---|
| storeId | string | required | The BTCPay Server store ID. |
| invoiceId | string | required | The BTCPay Server invoice ID. |
| status | string | required | Status to manually assign to the invoice. |