Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Unique key to prevent duplicate creation or execution.

Required string length: 8 - 128

Body

application/json

Campos condicionais por funding.mode. PREFUNDED e CREDIT: quoteId obrigatório; destinationAmount e funding.inventoryId não aceitos; senderQuote opcional. INVENTORY: funding.inventoryId e destinationAmount obrigatórios; quoteId não aceito; senderQuote obrigatório. Violação retorna VALIDATION_ERROR (400) com o campo em details.

senderId
string
required

Remetente cadastrado, ACTIVE e com nível mínimo LEVEL_1.

externalId
string
required

Único por cliente.

Maximum string length: 128
funding
object
required

inventoryId é obrigatório quando mode = INVENTORY e não é aceito nas demais modalidades (VALIDATION_ERROR).

beneficiaryId
string
required
purpose
enum<string>
required

Finalidade declarada; mapeada internamente para a natureza da operação de câmbio. Enum extensível.

Available options:
FAMILY_MAINTENANCE,
GIFT,
PERSONAL_SAVINGS,
EDUCATION,
MEDICAL,
SERVICES_PAYMENT,
GOODS_PAYMENT,
SALARY,
OTHER
senderRelationship
enum<string>
required

Relação do remetente com o beneficiário.

Available options:
SELF,
FAMILY,
FRIEND,
EMPLOYER,
EMPLOYEE,
BUSINESS_PARTNER,
OTHER
quoteId
string

Obrigatório em PREFUNDED e CREDIT; não aceito em INVENTORY. Cotação usage = REMITTANCE, AVAILABLE e não expirada. Define valores e taxa da remessa.

destinationAmount
string

Somente INVENTORY (obrigatório). Valor em BRL que o beneficiário recebe; é o volume reservado no lote. O equivalente em USD é calculado na taxa do lote.

Pattern: ^(0\.(0[1-9]|[1-9][0-9]?)|[1-9][0-9]*(\.[0-9]{1,2})?)$
Example:

"1000.00"

senderQuote
object

Dados da operação de câmbio da MSB com o remetente (usuário final). Obrigatório em INVENTORY. Não é informativo: é gravado na remessa como recebido e usado na formalização da operação. Não altera valores da remessa, taxa do lote nem cobrança. Não confundir com a cotação da LB Pay (quoteId) nem com a taxa do Inventory Lot.

A estrutura pode receber novos campos.

paymentInstructionId
string

Opcional se o beneficiário tiver exatamente uma instrução APPROVED.

purposeDescription
string

Obrigatório quando purpose = OTHER.

Maximum string length: 140
metadata
object

Response

Remittance created and accepted for processing

remittanceId
string
required
type
enum<string>
required

Operação que originou a remessa. WITHDRAWAL: envio do remetente para um beneficiário no Brasil via Pix. Enum extensível: ignore tipos desconhecidos.

Available options:
WITHDRAWAL
quoteId
string | null
required

null somente quando fundingMode = INVENTORY.

senderId
string
required
externalId
string
required
status
enum<string>
required
Available options:
PROCESSING,
ON_HOLD
inventoryId
string | null

Preenchido somente quando fundingMode = INVENTORY.

fundingMode
enum<string>
Available options:
PREFUNDED,
CREDIT,
INVENTORY
message
string
Example:

"Remessa criada; câmbio e Pix ainda não confirmados."