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

Login

Develop Env
https://api.dubpay2.com.br/api
Develop Env
https://api.dubpay2.com.br/api
POST
https://api.dubpay2.com.br/api
/login
Autentica o usuário e gera um token JWT, utilizado para autorizar futuras requisições.

Request

Body Params application/json

Example
{
    "email": "usuario@email.com",
    "password": "senha123456"
}

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 'https://api.dubpay2.com.br/api/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "usuario@email.com",
    "password": "senha123456"
}'

Responses

🟢200SUCCESS
application/json
Body

Example
{
    "data": {
        "id": 0,
        "name": "string",
        "email": "string",
        "role": {
            "id": "string",
            "name": "string"
        },
        "activated": true,
        "complete_register": true,
        "mail_active": true,
        "zipcode": "string",
        "analise": "Aprovado"
    },
    "contract": {
        "id": 0,
        "description": "string",
        "user_id": 0,
        "status": true,
        "membership_plan_id": 0,
        "created_at": "string",
        "updated_at": "string"
    },
    "token_shopify": "string",
    "token": "string"
}
🟢200INVALID CREDENTIALS
Modified at 2025-01-28 14:54:35
Next
Request Withdraw
Built with