Skip to main content
POST
Create Payment

Request Body

integer
Merchant id of the account that is creating the payout. The custom number will be different for sandbox and production environment.Is mandatory if there is more than one account under your umbrella (sellers).
string
required
Payment method for the payout.Allowed values: PIX
string
required
Currency code of the amount (ISO 4217).Example: BRL
string
required
Country code (ISO 3166-1 alpha-2).Example: BR
number
required
The payout amount in decimal format.Example: 50.34
string
required
Unique invoice identifier (UUID format recommended).Example: e3317882-f821-455b-b082-dc3ba36e8a57
string
Description or purpose of the payout.Max length: 255 characters
object
required
Beneficiary information.
object
Details of remitter. Mandatory for the remittance model. Payments from individuals to individuals.
Legal entity information of the payment originator. Mandatory for crossborder merchants.
object
required
PIX payment information. Use either pix_key OR bank account details.
string
URL where webhook notifications will be sent.Max length: 255 characters
string
Purpose code for the transaction.Default: 20
string
Custom message to appear on the receipt.

Response

integer
WEpayment’s auto generated payout ID.
object
Merchant information.
string
Payment method used.
string
Country code.
string
Currency code.
string
Payout amount formatted with currency symbol.
string
Source currency if conversion was applied.
string
Source amount if conversion was applied.
string
Invoice identifier.
string
Payout description.
string
Authentication code for the transaction.
string
Description if the payout was rejected.
string
Webhook notification URL.
object
Payout status.
object
Beneficiary information.
string
Receipt message.
object
PIX payment details.
string
Transaction purpose code.
string
Payment completion timestamp.
string
Creation timestamp.
string
Last update timestamp.

Request Examples

PIX Key Payment

Use this method when you have the beneficiary’s PIX key.

Bank Account Payment

Use this method when you have the beneficiary’s bank account details.

Payout Webhook

Receive real-time payout status notifications

Get Balance

Check your wallet balance before creating payouts