Create Payout with Global Markup
Payout
Create Payout with Global Markup
Create a payout payment using global markup configuration.
POST
Create Payout with Global Markup
Documentation Index
Fetch the complete documentation index at: https://docs.wepayout.co/llms.txt
Use this file to discover all available pages before exploring further.
Create Payout with Global Markup
When creating a payout payment, you can use the global markup configuration that has been set up for your merchant. With global markup, you do not need to send themarkup object in the request payload.
Global markup is applied automatically: If the merchant has the markup feature enabled (
enable_markup = true), the system will automatically search for and apply the global markup configuration for the submerchant.How It Works
-
Validation: The system checks if the
enable_markupflag is active for the submerchant. -
Markup Search: If enabled, the system automatically searches for the global markup configuration based on:
account_id(submerchant ID)product(payout)payment_method(PIX, TED, etc.)
- Application: If a global markup is found, it is automatically applied to the payment.
-
Priority: If you send an inline
markupobject, it takes precedence over the global markup.
Request Examples
Response
WEpayment’s auto generated id, use this id to perform conciliation or perform queries via API / Dashboard.
Merchant object.
Payment method used for the payout.Values:
PIXThe payout amount formatted with currency symbol.
Currency code (ISO 4217).
Invoice identifier.
Payout status.
Beneficiary information.
Global markup configuration applied to this payment.
Business Rules
Automatic Application: When
enable_markup = true and a global markup exists, it is automatically applied without requiring the markup object in the request.Error Scenarios
Scenario 1: enable_markup = true, No Global Markup, No Inline Markup
If the submerchant hasenable_markup = true but:
- No global markup configuration exists
- No inline markup object is sent in the request
Scenario 2: Error Verifying Global Markup
If there is an error while searching for or verifying the global markup configuration. Result: Returns 422 error with message “Error verifying markup configuration. Please try again or contact support.”Related Resources
Create Payout with Inline Markup
Learn how to create payout with inline markup
Create Merchant Markup
Configure global markup for merchants
About Markup
Understand markup types and configuration levels
Create Payment
Complete documentation for creating payout payments

