All URIs are relative to https://btcpay.example.com/api/v1
Method | HTTP request | Description |
---|---|---|
pull_payments_archive_pull_payment | DELETE /api/v1/stores/{storeId}/pull-payments/{pullPaymentId} | Archive a pull payment |
pull_payments_create_pull_payment | POST /api/v1/stores/{storeId}/pull-payments | Create a new pull payment |
pull_payments_get_pull_payments | GET /api/v1/stores/{storeId}/pull-payments | Get store's pull payments |
pull_payments_archive_pull_payment(store_id, pull_payment_id) Archive a pull payment
Archive this pull payment (Will cancel all payouts awaiting for payment)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
store_id | String | The ID of the store | [required] | |
pull_payment_id | String | The ID of the pull payment | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::PullPaymentData pull_payments_create_pull_payment(store_id, pull_payments_create_pull_payment_request) Create a new pull payment
A pull payment allows its receiver to ask for payouts up to amount
of currency
every period
.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
store_id | String | The store ID | [required] | |
pull_payments_create_pull_payment_request | Option<PullPaymentsCreatePullPaymentRequest> |
crate::models::PullPaymentData
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::PullPaymentData pull_payments_get_pull_payments(store_id, include_archived) Get store's pull payments
Get the pull payments of a store
Name | Type | Description | Required | Notes |
---|---|---|---|---|
store_id | String | The store ID | [required] | |
include_archived | Option<bool> | Whether this should list archived pull payments | [default to false] |
Veccrate::models::PullPaymentData
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]