BananaTech
  1. Merchant related APIs
BananaTech
  • API Security Implementation Guide
  • Guides
    • 01-README
    • 02-Getting-Started
    • 03-Virtual-Cards
    • 04-Physical-Cards
    • 05-Card-Operations
  • Webhook
    • Integration Guide
    • Event Types
  • Merchant related APIs
    • Get Account Balance
      POST
    • Get Card Templates
      POST
    • Set Webhook URL
      POST
    • Get Webhook Records
      POST
  • User related APIs
    • Register
      POST
    • Get Users
      POST
  • Card related APIs
    • Apply
      POST
    • Recharge
      POST
    • Update Status
      POST
    • Get Balance
      POST
    • Get Information
      POST
    • Get Transactions
      POST
    • Assign (for Physical cards only)
      POST
    • Set PIN (for Physical cards only)
      POST
    • 3DS Confirm
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Merchant related APIs

Set Webhook URL

POST
/merchant/set_webhook_url
Used to set and update webhook handler URL

Request

Header Params

Body Params application/json

Example
{
    "webhook_url": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/merchant/set_webhook_url' \
--header 'Merchant-ID;' \
--header 'X-HMAC;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "webhook_url": "string"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "message": "Webhook set successfully"
}
Modified at 2025-02-09 10:22:22
Previous
Get Card Templates
Next
Get Webhook Records
Built with