Skip to content

Latest commit

 

History

History
89 lines (55 loc) · 2.97 KB

PaymentsApi.md

File metadata and controls

89 lines (55 loc) · 2.97 KB

\PaymentsApi

All URIs are relative to https://api.brevo.com/v3

Method HTTP request Description
CreatePaymentRequest Post /payments/requests Create a payment request
DeletePaymentRequest Delete /payments/requests/{id} Delete a payment request.
GetPaymentRequest Get /payments/requests/{id} Get payment request details

CreatePaymentRequest

CreatePaymentResponse CreatePaymentRequest(ctx, createPaymentRquest) Create a payment request

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
createPaymentRquest CreatePaymentRequest Create a payment request

Return type

CreatePaymentResponse

Authorization

api-key, partner-key

HTTP request headers

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

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

DeletePaymentRequest

DeletePaymentRequest(ctx, id) Delete a payment request.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string ID of the payment request.

Return type

(empty response body)

Authorization

api-key, partner-key

HTTP request headers

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

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

GetPaymentRequest

GetPaymentRequest GetPaymentRequest(ctx, id) Get payment request details

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string Id of the payment Request

Return type

GetPaymentRequest

Authorization

api-key, partner-key

HTTP request headers

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

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