DubPay
  1. PAYMENTS
DubPay
  • DUBPAY API
    • Login
      POST
    • Request Withdraw
      POST
    • Cancel Order
      DELETE
    • Request Anticipation
      POST
  • PAYMENTS
    • Get Balance
      GET
    • Get Waiting Funds
      GET
    • Get Transactions
      GET
    • Request Withdraw
      POST
    • Create Order
      POST
    • List taxes
      GET
    • List Seller Webhooks
      GET
    • Create Seller Webhook
      POST
    • Update Seller Webhook
      PUT
    • Delete Seller Webhook
      DELETE
  1. PAYMENTS

Update Seller Webhook

Develop Env
https://payments.dubpay2.com.br/api
Develop Env
https://payments.dubpay2.com.br/api
PUT
https://payments.dubpay2.com.br/api
/seller-webhook/{id}
Criar Webhook

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Example:
51
Header Params
store-id
string 
required
UUID da loja
Example:
{{STORE_ID}}
Body Params application/json
active
boolean 
required
Status do webhook
url
string 
required
URL do webhook
Example
{
    "active": true,
    "url": "string"
}

Request 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 PUT 'https://payments.dubpay2.com.br/api/seller-webhook/51' \
--header 'store-id: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "active": true,
    "url": "string"
}'

Responses

🟢200OK
application/json
Body
data
array [object {3}] 
required
id
integer 
optional
active
boolean 
optional
url
string 
optional
Example
{
    "data": [
        {
            "id": 51,
            "active": true,
            "url": "https://webhook.site/013987ea-fc0a-479b-ac96-8cfc72046723"
        }
    ]
}
🟠400BAD REQUEST
Modified at 2025-03-07 22:14:22
Previous
Create Seller Webhook
Next
Delete Seller Webhook
Built with