Skip to main content
POST
Create Charge (Bank Slip)

Create Charge (Bank Slip)

Generate a new Boleto payment request.

Request Body

integer
Merchant id of the account that is creating the payin. Mandatory if there is more than one account under your umbrella (sellers).
string
required
Your identification number, it must be unique on our database.
string
The url where we will submit the callbacks.
string
required
Payment method that will be used in payin.Allowed value: boleto
integer
required
The charge total amount in the smallest currency unit.Min: 500
string
required
Currency code of the amount (ISO 4217). Example: BRL
string
required
Country code (ISO 3166-1 alpha-2). Example: BR
string
Instructions that will be displayed to the user.
object
required
The person you are charging object.
Use this object to inform the legal name of the final beneficiary.
object
required
Boleto specific instructions.

Request Example

Boleto

Response

integer
WEpayments auto generated id, use this id to perform conciliation or perform queries via API / Dashboard.
object
Merchant object.
string
WEpayments auto generated hash, use this hash to send your user to the payment page.
string
The WEpayments payment page where you can redirect the end customer.
string
The bank identification number.
string
Your identification number.
string
The url where callbacks are submitted.
string
Payment method used in payin.Value: boleto
integer
The payin total amount in cents.
integer
The total amount of the payin paid.
integer
Amount refunded from this charge.
object
Currency object.
string
Instructions displayed to the user.
object
The person you are charging object.
Final beneficiary object.
object
Boleto specific instructions object.
object
Status object.
array
Status history object.
object
Substatus object. Can be null.
array
Refund object list.
string
Cash-in created date.
string
Cash-in update date.

Response Example

201 Bank Slip

Create Charge (Pix)

Use the same endpoint with pix-specific required fields

Get Unique Charge

Retrieve a specific charge by ID