Request Batch
You can create virtual accounts between 10 and 5000 through an array.
POST
{{api_base_url}}/api/virtual-account-batch
Request Batch
Request Body
externalId*
string
Mandatory. An ID that is meaningful to you and your system. It must be unique and alphanumeric, no characters allowed.
accountNumber*
string
Your Localpayment account number
country*
string
beneficiary*
Object
Party Object
beneficiary.type*
string
Possible values: "COMPANY" or "INDIVIDUAL"
beneficiary.name*
string
Individual / company name
beneficiary.lastname
string
Only for INDIVIDUAL type / Ignored for COMPANY.
beneficiary.document
Object
document.type
string
Document type (related to the beneficiary's residence. Must be Brazilian resident "CPF"; "CNPJ")
document.id
string
Identity document id. Usually numbers or combination of numbers and letters (related to the beneficiary's residence).
address
Object
Party Object
address.street
String
Street address
address.number
String
number address
address.country
String
Country address
accounts*
array
Array of beneficiaries
address.zipcode
string
Address zip code
address.city
string
City of the address
address.state
string
State address
Example: Virtual Account request
Check your virtual accounts
Using the api
To query the virtual accounts created using the endpoint by specifying the "ExternalId".
ExternalId query
GET
{{api_base_url}}/api/virtual-account-batch/External ID
Headers
Authorization*
String
Mandatory. JWT token in format Bearer eyj0...
. For more information about authentication, please refer to Authentication.
Request Body
externalId
String
An ID that is meaningful to you and your system. Must be unique.
Using the front
You can consult in the front the generation of accounts from the menu: Payin/virtual Account and enter the query data in the filter.
Last updated