Skip to content

Latest commit

 

History

History
104 lines (58 loc) · 3.53 KB

PullPaymentsManagementApi.md

File metadata and controls

104 lines (58 loc) · 3.53 KB

\PullPaymentsManagementApi

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

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)

Parameters

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]

Return type

(empty response body)

Authorization

API_Key, Basic

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

pull_payments_create_pull_payment

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.

Parameters

Name Type Description Required Notes
store_id String The store ID [required]
pull_payments_create_pull_payment_request Option<PullPaymentsCreatePullPaymentRequest>

Return type

crate::models::PullPaymentData

Authorization

API_Key, Basic

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

pull_payments_get_pull_payments

Veccrate::models::PullPaymentData pull_payments_get_pull_payments(store_id, include_archived) Get store's pull payments

Get the pull payments of a store

Parameters

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]

Return type

Veccrate::models::PullPaymentData

Authorization

API_Key, Basic

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]