Skip to content

Latest commit

 

History

History
71 lines (39 loc) · 1.99 KB

BusinessManagementApi.md

File metadata and controls

71 lines (39 loc) · 1.99 KB

WhatsAPI\BusinessManagementApi

All URIs are relative to /api

Method HTTP request Description
fetch_catlog GET /instances/{instance_key}/business/catalog Fetches the catlog.
send_payment_request POST /instances/{instance_key}/business/payment-request Send a payment request.

fetch_catlog

crate::models::ApiResponse fetch_catlog(instance_key) Fetches the catlog.

Gets list of all products registered by you.

Parameters

Name Type Description Required Notes
instance_key String Instance key [required]

Return type

crate::models::ApiResponse

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

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

send_payment_request

crate::models::ApiResponse send_payment_request(instance_key, data) Send a payment request.

Sends an payment request to a user. Feature is still in beta.

Parameters

Name Type Description Required Notes
instance_key String Instance key [required]
data PaymentRequestPayload Data [required]

Return type

crate::models::ApiResponse

Authorization

ApiKeyAuth

HTTP request headers

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

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