Skip to main content
GET
https://api.sandbox.wepayout.com.br
/
v2
/
account
/
markups
List Merchant Markups Configuration
curl --request GET \
  --url https://api.sandbox.wepayout.com.br/v2/account/markups \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "product": "payin",
      "payment_method": "pix",
      "account_id": 123,
      "parent_id": null,
      "type": "global",
      "mode": "percent",
      "amount": 2.5,
      "min_charge_value": 1.0,
      "max_charge_value": 100.0,
      "enabled": true,
      "created_at": "2025-01-01 12:00:00",
      "updated_at": "2025-01-10 09:30:00"
    },
    {
      "id": 2,
      "product": "payout",
      "payment_method": "ted",
      "account_id": 123,
      "parent_id": null,
      "type": "global",
      "mode": "fixed",
      "amount": 5.0,
      "min_charge_value": null,
      "max_charge_value": null,
      "enabled": true,
      "created_at": "2025-01-02 12:00:00",
      "updated_at": "2025-01-10 09:40:00"
    }
  ]
}
Coming Soon: This feature will be available soon. Stay tuned for updates!

Business Rules

Important Restrictions:
  • This feature launches in January 2026

List Merchant Markups Configuration

Use this endpoint to list existing markup configurations for merchants. If no filters are provided, the API returns the markups that belong to the authenticated user’s companies.

Query Parameters

account_id
integer
Merchant ID filter.Business rules:
  • Optional
  • Must be greater than or equal to 1
parent_id
integer
Parent merchant ID filter.Business rules:
  • Optional
  • Must be greater than or equal to 1
  • Prohibited when account_id is present (one or the other)
id
integer
Specific markup ID filter.Business rules:
  • Optional
  • Must be greater than or equal to 1
payment_method
string
Filter by payment method.Allowed values: pix, billet, credit_card
product
string
Filter by product.Allowed values: payin, payout
type
string
Filter by markup type.Business rules:
  • Optional
  • Currently, only global is supported externally

Request Examples

curl -X GET "https://api.sandbox.wepayout.com.br/v2/account/markups" \
  -H "Authorization: Bearer SEU_TOKEN_AQUI" \
  -H "Accept: application/json"

Response

data
array[object]
List of markup configurations.
{
  "data": [
    {
      "id": 1,
      "product": "payin",
      "payment_method": "pix",
      "account_id": 123,
      "parent_id": null,
      "type": "global",
      "mode": "percent",
      "amount": 2.5,
      "min_charge_value": 1.0,
      "max_charge_value": 100.0,
      "enabled": true,
      "created_at": "2025-01-01 12:00:00",
      "updated_at": "2025-01-10 09:30:00"
    },
    {
      "id": 2,
      "product": "payout",
      "payment_method": "ted",
      "account_id": 123,
      "parent_id": null,
      "type": "global",
      "mode": "fixed",
      "amount": 5.0,
      "min_charge_value": null,
      "max_charge_value": null,
      "enabled": true,
      "created_at": "2025-01-02 12:00:00",
      "updated_at": "2025-01-10 09:40:00"
    }
  ]
}