API Reference
Get a beneficiary
/v1/beneficiaries/{beneficiaryId}https://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.comRetrieves a specific beneficiary by ID.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
API version. Omit to use the default version.
"1"Path parameters
UUID of the beneficiary.
Responses
200Beneficiary details.
"ben-a1b2c3d4-5e6f-7890-abcd-ef1234567890"Customer that owns this beneficiary.
The person or company that receives funds. Discriminated by type.
INDIVIDUAL
INDIVIDUALGiven name.
"João"Family name.
"Silva"Identification document of a beneficiary entity. For tax-id types the value must match the format expected for the supplied type (e.g. a CPF must be 11 digits with valid check digits), and country is implied by the type, so it is omitted. Non-tax types (PASSPORT) carry an explicit country.
Show child attributes
Identification document type. Tax-id types imply their country (CPF/CNPJ are Brazilian, CUIT/CUIL are Argentine, RUT_CL is Chilean, etc.); PASSPORT is a non-fiscal document and requires an explicit country.
60 values
CPFCNPJCUITCUILRUT_CLRUT_UYCI_UYRUCDNI_PENITCCRFCRUC_PYCI_PYNIPCNIF_PTCIFNIF_ESNIESIRENSIRETNIF_FRPARTITA_IVACODICE_FISCALEUST_IDNRSTEUER_IDKVKBSNBCENN_BEORGANISATIONSNUMMERPERSONNUMMERORGANISASJONSNUMMERFODSELSNUMMERUID_CHAHVVAT_GBNINEINSSNITINBN_CASINABNTFNUSCCCORPORATE_NUMBER_JPMY_NUMBERBRN_KRRRNGSTINPANINN_RUCOMPANY_NUMBER_ILTEUDAT_ZEHUTTRADE_LICENSEEMIRATES_IDCIPCSA_IDPASSPORT"CPF"Document value. Tax ids are digits only (no dots, dashes, or slashes).
"52998224725"ISO 3166-1 alpha-2 country code.
249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX"BR"Date of birth in ISO 8601 (yyyy-MM-dd).
"1985-03-15"Postal address of an entity or beneficiary.
Show child attributes
Primary street line (number + street).
Secondary line (apartment, suite, building). null if not applicable.
State, province, or region. null for countries without subdivisions in the address.
ISO 3166-1 alpha-2 country code.
249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX"BR"Postal or ZIP code, formatted per the country's convention.
COMPANY
COMPANYRegistered legal name.
"Acme Importação Ltda"Trade name (DBA). null if the company doesn't use one.
"Acme"Identification document of a beneficiary entity. For tax-id types the value must match the format expected for the supplied type (e.g. a CPF must be 11 digits with valid check digits), and country is implied by the type, so it is omitted. Non-tax types (PASSPORT) carry an explicit country.
Show child attributes
Identification document type. Tax-id types imply their country (CPF/CNPJ are Brazilian, CUIT/CUIL are Argentine, RUT_CL is Chilean, etc.); PASSPORT is a non-fiscal document and requires an explicit country.
60 values
CPFCNPJCUITCUILRUT_CLRUT_UYCI_UYRUCDNI_PENITCCRFCRUC_PYCI_PYNIPCNIF_PTCIFNIF_ESNIESIRENSIRETNIF_FRPARTITA_IVACODICE_FISCALEUST_IDNRSTEUER_IDKVKBSNBCENN_BEORGANISATIONSNUMMERPERSONNUMMERORGANISASJONSNUMMERFODSELSNUMMERUID_CHAHVVAT_GBNINEINSSNITINBN_CASINABNTFNUSCCCORPORATE_NUMBER_JPMY_NUMBERBRN_KRRRNGSTINPANINN_RUCOMPANY_NUMBER_ILTEUDAT_ZEHUTTRADE_LICENSEEMIRATES_IDCIPCSA_IDPASSPORT"CPF"Document value. Tax ids are digits only (no dots, dashes, or slashes).
"52998224725"ISO 3166-1 alpha-2 country code.
249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX"BR"Postal address of an entity or beneficiary.
Show child attributes
Primary street line (number + street).
Secondary line (apartment, suite, building). null if not applicable.
State, province, or region. null for countries without subdivisions in the address.
ISO 3166-1 alpha-2 country code.
249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX"BR"Postal or ZIP code, formatted per the country's convention.
Whether the beneficiary is the customer themselves (SELF_OWNED) or a separate party (THIRD_PARTY).
SELF_OWNEDTHIRD_PARTY"THIRD_PARTY""2026-04-14T10:30:00Z""2026-04-14T10:30:00Z"Show child attributes
"pi-a1b2c3d4-5e6f-7890-abcd-ef1234567890"ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:
| Asset | Decimals |
|---|---|
| BRL | 2 |
| USDT | 6 |
| USDC | 6 |
BRLUSDTUSDC"BRL"A single entry in a payment instruction's state history. Carries a status, optional reason (present only for REJECTED), and the time the state was entered.
Show child attributes
Compliance review status of a payment instruction. New instructions start in PENDING_REVIEW and transition asynchronously to APPROVED or REJECTED.
ACTION_REQUIRED means the review is waiting on you: compliance asked for another document, and currentState.reason says what for. Upload it with the instruction as the document holder and the instruction returns to PENDING_REVIEW on its own. Unlike REJECTED, this is not final — the same instruction can still be approved.
Compliance can ask for more than one document, and it can ask for one you have never sent. requirements is the complete answer to *what is missing*: everything in currentlyDue and errors is still owed. documents[].currentState only covers files you already uploaded, so it can be empty while the instruction is ACTION_REQUIRED.
The instruction returns to PENDING_REVIEW on its own once nothing is owed, so replacing one file does not necessarily end the wait.
PENDING_REVIEWACTION_REQUIREDAPPROVEDREJECTED"APPROVED"Justification for entering this status (e.g., why an instruction was REJECTED, or which document is being asked for on ACTION_REQUIRED). Present for REJECTED and ACTION_REQUIRED; omitted for PENDING_REVIEW and APPROVED.
Show child attributes
Machine-readable code.
"INSUFFICIENT_BALANCE"Human-readable description.
"Insufficient balance for the requested operation"Free-form context relevant to the reason.
Time the instruction entered this status.
A payment route, discriminated by rail. Beneficiary payment instructions emit one of PIX_KEY, PIX_BANK_INSTRUCTION, or CRYPTO; other rails appear in operation responses.
PIX_KEY
PIX_KEYPIX key category. RANDOM is a random key issued by the central bank.
CPFCNPJEMAILPHONERANDOM"CPF"DICT key value.
"john@example.com"PIX_BANK_INSTRUCTION
PIX_BANK_INSTRUCTIONBank reference. Resolved server-side from the COMPE code provided in the request.
Show child attributes
COMPE code (3-digit Brazilian bank code, may be sent unpadded).
"001"Registered bank name.
"BANCO DO BRASIL S.A."ISPB code (8-digit Brazilian payment-system identifier). null when the bank is not registered with an ISPB.
"00000000"Branch number.
"0001"Account number with check digit.
"123456"PIX_STATIC_QR_CODE
PIX_STATIC_QR_CODEPIX QR code payload (EMV-encoded BR Code).
"00020126580014br.gov.bcb.pix..."BOLETO
BOLETOBoleto barcode (digitable line).
"23793.38128 60800.000003 00000.000400 1 84340000012345"Last day on which the boleto can be paid.
"2026-05-15T23:59:59Z"CRYPTO
CRYPTOBlockchain network (e.g., ETHEREUM, TRON, SOLANA).
"ETHEREUM"Wallet address on network.
"0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"Custody arrangement for the instruction. Present only for the CRYPTO rail; null for all other rails.
CustodyDetail
Purpose of the wallet or its transfers.
"Treasury settlement"Who custodies the wallet.
"Coinbase Custody"Counterparty on the other side of the arrangement.
"Acme VASP Ltd"variant
"2026-04-14T10:30:00Z"Compliance documents you have uploaded for the instruction. Empty until you upload one. This is what you sent — to know what is still wanted, read requirements.
Show child attributes
Identifier of the document. Stable across re-uploads of the same document type, so it always points at the same reviewable document.
"doc-a1b2c3d4-5e6f-7890-abcd-ef1234567890"Type of compliance document. Beneficiary document upload supports only CUSTODY_ATTESTATION, which proves a crypto wallet's custody arrangement.
CUSTODY_ATTESTATION"CUSTODY_ATTESTATION"Which file of this document is currently under compliance review. Starts at 1 and increases by one on every re-upload of the same type. Previous versions are retained by compliance.
1Whether compliance is waiting on you for this document. Read this, not the instruction status, to know which file to replace.
Show child attributes
Review state of one document. PENDING_REVIEW means it is with compliance; ACTION_REQUIRED means they asked you to replace it and reason says why. Uploading a new version of that document returns it to PENDING_REVIEW.
PENDING_REVIEWACTION_REQUIRED"ACTION_REQUIRED"Says the document is being asked for again. Present only for ACTION_REQUIRED. It does not carry the reviewer's own words — for what compliance actually said, read requirements.errors[].reason on the instruction.
Show child attributes
"DOCUMENT_REQUESTED""The file is not legible""2026-04-14T10:30:00Z"What compliance is waiting on for this instruction, read live at request time. All four groups are empty for an instruction whose review has not started or has already been decided.
Show child attributes
Compliance is waiting on you to send these.
Show child attributes
What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.
BENEFICIARY_DOCUMENTOPERATION_DOCUMENT"BENEFICIARY_DOCUMENT"What compliance asked for. Usually a single document type, but it can name a family of documents — IDENTITY_VERIFICATION, for example — in which case anyOf lists the ones that satisfy it.
"IDENTITY_VERIFICATION"The document types that answer this requirement. Any one of them settles it — you do not send all of them. For a requirement naming a single document this holds exactly that one, so you can always read anyOf and ignore whether a family was asked for.
Why this requirement is open. Present when compliance explained itself, typically on errors.
Show child attributes
"DOCUMENT_REQUESTED""The file is not legible"You sent these and compliance is reviewing them. Nothing to do.
Show child attributes
What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.
BENEFICIARY_DOCUMENTOPERATION_DOCUMENT"BENEFICIARY_DOCUMENT"What compliance asked for. Usually a single document type, but it can name a family of documents — IDENTITY_VERIFICATION, for example — in which case anyOf lists the ones that satisfy it.
"IDENTITY_VERIFICATION"The document types that answer this requirement. Any one of them settles it — you do not send all of them. For a requirement naming a single document this holds exactly that one, so you can always read anyOf and ignore whether a family was asked for.
Why this requirement is open. Present when compliance explained itself, typically on errors.
Show child attributes
"DOCUMENT_REQUESTED""The file is not legible"These came back — sent, then refused or asked for again. reason says why. Send a new file for the same requirement.
Show child attributes
What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.
BENEFICIARY_DOCUMENTOPERATION_DOCUMENT"BENEFICIARY_DOCUMENT"What compliance asked for. Usually a single document type, but it can name a family of documents — IDENTITY_VERIFICATION, for example — in which case anyOf lists the ones that satisfy it.
"IDENTITY_VERIFICATION"The document types that answer this requirement. Any one of them settles it — you do not send all of them. For a requirement naming a single document this holds exactly that one, so you can always read anyOf and ignore whether a family was asked for.
Why this requirement is open. Present when compliance explained itself, typically on errors.
Show child attributes
"DOCUMENT_REQUESTED""The file is not legible"These are settled. Nothing to do.
Show child attributes
What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.
BENEFICIARY_DOCUMENTOPERATION_DOCUMENT"BENEFICIARY_DOCUMENT"What compliance asked for. Usually a single document type, but it can name a family of documents — IDENTITY_VERIFICATION, for example — in which case anyOf lists the ones that satisfy it.
"IDENTITY_VERIFICATION"The document types that answer this requirement. Any one of them settles it — you do not send all of them. For a requirement naming a single document this holds exactly that one, so you can always read anyOf and ignore whether a family was asked for.
Why this requirement is open. Present when compliance explained itself, typically on errors.
Show child attributes
"DOCUMENT_REQUESTED""The file is not legible"401Missing or invalid authentication token.
Machine-readable error code.
Human-readable description.
404Beneficiary not found.
Machine-readable error code.
Human-readable description.