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

Create Seller Webhook

Develop Env
https://payments.dubpay2.com.br/api
Develop Env
https://payments.dubpay2.com.br/api
POST
https://payments.dubpay2.com.br/api
/seller-webhook
Criar Webhook

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
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 POST 'https://payments.dubpay2.com.br/api/seller-webhook' \
--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"
        }
    ]
}
Modified at 2025-03-07 22:14:14
Previous
List Seller Webhooks
Next
Update Seller Webhook
Built with