API Reference
Beneficiaries

Get a beneficiary

GET/v1/beneficiaries/{beneficiaryId}
Base URL: https://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.com

Retrieves a specific beneficiary by ID.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

X-Trace-Versionstring

API version. Omit to use the default version.

Example: "1"

Path parameters

beneficiaryIdstring<uuid>required

UUID of the beneficiary.

Responses

200Beneficiary details.
idstring<uuid>required
Example: "ben-a1b2c3d4-5e6f-7890-abcd-ef1234567890"
customerIdstring<uuid>required

Customer that owns this beneficiary.

entityobjectrequired

The person or company that receives funds. Discriminated by type.

INDIVIDUAL
typestringrequired
INDIVIDUAL
firstNamestringrequired

Given name.

Example: "João"
lastNamestringrequired

Family name.

Example: "Silva"
identificationDocumentobjectrequired

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
typestringrequired

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
Example: "CPF"
valuestringrequired

Document value. Tax ids are digits only (no dots, dashes, or slashes).

Example: "52998224725"
countrystring

ISO 3166-1 alpha-2 country code.

249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX
Example: "BR"
birthDatestring<date>required

Date of birth in ISO 8601 (yyyy-MM-dd).

Example: "1985-03-15"
addressobjectrequired

Postal address of an entity or beneficiary.

Show child attributes
addressLine1stringrequired

Primary street line (number + street).

addressLine2string | nullrequired

Secondary line (apartment, suite, building). null if not applicable.

citystring | nullrequired
statestring | nullrequired

State, province, or region. null for countries without subdivisions in the address.

countrystringrequired

ISO 3166-1 alpha-2 country code.

249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX
Example: "BR"
postalCodestringrequired

Postal or ZIP code, formatted per the country's convention.

COMPANY
typestringrequired
COMPANY
legalNamestringrequired

Registered legal name.

Example: "Acme Importação Ltda"
tradeNamestring | null

Trade name (DBA). null if the company doesn't use one.

Example: "Acme"
identificationDocumentobjectrequired

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
typestringrequired

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
Example: "CPF"
valuestringrequired

Document value. Tax ids are digits only (no dots, dashes, or slashes).

Example: "52998224725"
countrystring

ISO 3166-1 alpha-2 country code.

249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX
Example: "BR"
addressobjectrequired

Postal address of an entity or beneficiary.

Show child attributes
addressLine1stringrequired

Primary street line (number + street).

addressLine2string | nullrequired

Secondary line (apartment, suite, building). null if not applicable.

citystring | nullrequired
statestring | nullrequired

State, province, or region. null for countries without subdivisions in the address.

countrystringrequired

ISO 3166-1 alpha-2 country code.

249 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBICVKHCMCAKYCFTDCLCNCXCCCOKMCDCGCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRGFPFTFGAGMGEDEGHGIGRGLGDGPGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMGMWMYMVMLMTMHMQMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQAMKRORURWREBLSHKNLCMFPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSJSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFEHYEZMZWAX
Example: "BR"
postalCodestringrequired

Postal or ZIP code, formatted per the country's convention.

relationshipTypestringrequired

Whether the beneficiary is the customer themselves (SELF_OWNED) or a separate party (THIRD_PARTY).

SELF_OWNEDTHIRD_PARTY
Example: "THIRD_PARTY"
createdAtstring<date-time>required
Example: "2026-04-14T10:30:00Z"
updatedAtstring<date-time>required
Example: "2026-04-14T10:30:00Z"
paymentInstructionsobject[]required
Show child attributes
idstring<uuid>required
Example: "pi-a1b2c3d4-5e6f-7890-abcd-ef1234567890"
assetstringrequired

ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:

AssetDecimals
BRL2
USDT6
USDC6
BRLUSDTUSDC
Example: "BRL"
currentStateobjectrequired

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
statusstringrequired

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
Example: "APPROVED"
reasonobject

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
codestringrequired

Machine-readable code.

Example: "INSUFFICIENT_BALANCE"
messagestringrequired

Human-readable description.

Example: "Insufficient balance for the requested operation"
detailsobjectrequired

Free-form context relevant to the reason.

createdAtstring<date-time>required

Time the instruction entered this status.

addressobjectrequired

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
railstringrequired
PIX_KEY
dictKeyTypestringrequired

PIX key category. RANDOM is a random key issued by the central bank.

CPFCNPJEMAILPHONERANDOM
Example: "CPF"
dictKeystringrequired

DICT key value.

Example: "john@example.com"
PIX_BANK_INSTRUCTION
railstringrequired
PIX_BANK_INSTRUCTION
bankobjectrequired

Bank reference. Resolved server-side from the COMPE code provided in the request.

Show child attributes
codestringrequired

COMPE code (3-digit Brazilian bank code, may be sent unpadded).

Example: "001"
namestringrequired

Registered bank name.

Example: "BANCO DO BRASIL S.A."
ispbCodestring | nullrequired

ISPB code (8-digit Brazilian payment-system identifier). null when the bank is not registered with an ISPB.

Example: "00000000"
branchstringrequired

Branch number.

Example: "0001"
accountNumberstringrequired

Account number with check digit.

Example: "123456"
PIX_STATIC_QR_CODE
railstringrequired
PIX_STATIC_QR_CODE
qrCodestringrequired

PIX QR code payload (EMV-encoded BR Code).

Example: "00020126580014br.gov.bcb.pix..."
BOLETO
railstringrequired
BOLETO
barcodestringrequired

Boleto barcode (digitable line).

Example: "23793.38128 60800.000003 00000.000400 1 84340000012345"
dueDatestring<date-time>required

Last day on which the boleto can be paid.

Example: "2026-05-15T23:59:59Z"
CRYPTO
railstringrequired
CRYPTO
networkstringrequired

Blockchain network (e.g., ETHEREUM, TRON, SOLANA).

Example: "ETHEREUM"
addressstringrequired

Wallet address on network.

Example: "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"
custodyDetailobject

Custody arrangement for the instruction. Present only for the CRYPTO rail; null for all other rails.

CustodyDetail
purposestringrequired

Purpose of the wallet or its transfers.

Example: "Treasury settlement"
custodystringrequired

Who custodies the wallet.

Example: "Coinbase Custody"
counterpartystringrequired

Counterparty on the other side of the arrangement.

Example: "Acme VASP Ltd"
variant
createdAtstring<date-time>required
Example: "2026-04-14T10:30:00Z"
documentsobject[]required

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
referenceIdstringrequired

Identifier of the document. Stable across re-uploads of the same document type, so it always points at the same reviewable document.

Example: "doc-a1b2c3d4-5e6f-7890-abcd-ef1234567890"
typestringrequired

Type of compliance document. Beneficiary document upload supports only CUSTODY_ATTESTATION, which proves a crypto wallet's custody arrangement.

CUSTODY_ATTESTATION
Example: "CUSTODY_ATTESTATION"
versionintegerrequired

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.

Example: 1
currentStateobjectrequired

Whether compliance is waiting on you for this document. Read this, not the instruction status, to know which file to replace.

Show child attributes
statusstringrequired

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
Example: "ACTION_REQUIRED"
reasonobject | null

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
codestring
Example: "DOCUMENT_REQUESTED"
messagestring
Example: "The file is not legible"
createdAtstring<date-time>required
Example: "2026-04-14T10:30:00Z"
requirementsobjectrequired

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
currentlyDueobject[]required

Compliance is waiting on you to send these.

Show child attributes
typestringrequired

What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.

BENEFICIARY_DOCUMENTOPERATION_DOCUMENT
Example: "BENEFICIARY_DOCUMENT"
documentTypestringrequired

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.

Example: "IDENTITY_VERIFICATION"
anyOfstring[]required

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.

reasonobject | null

Why this requirement is open. Present when compliance explained itself, typically on errors.

Show child attributes
codestring
Example: "DOCUMENT_REQUESTED"
messagestring
Example: "The file is not legible"
pendingVerificationobject[]required

You sent these and compliance is reviewing them. Nothing to do.

Show child attributes
typestringrequired

What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.

BENEFICIARY_DOCUMENTOPERATION_DOCUMENT
Example: "BENEFICIARY_DOCUMENT"
documentTypestringrequired

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.

Example: "IDENTITY_VERIFICATION"
anyOfstring[]required

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.

reasonobject | null

Why this requirement is open. Present when compliance explained itself, typically on errors.

Show child attributes
codestring
Example: "DOCUMENT_REQUESTED"
messagestring
Example: "The file is not legible"
errorsobject[]required

These came back — sent, then refused or asked for again. reason says why. Send a new file for the same requirement.

Show child attributes
typestringrequired

What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.

BENEFICIARY_DOCUMENTOPERATION_DOCUMENT
Example: "BENEFICIARY_DOCUMENT"
documentTypestringrequired

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.

Example: "IDENTITY_VERIFICATION"
anyOfstring[]required

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.

reasonobject | null

Why this requirement is open. Present when compliance explained itself, typically on errors.

Show child attributes
codestring
Example: "DOCUMENT_REQUESTED"
messagestring
Example: "The file is not legible"
satisfiedobject[]required

These are settled. Nothing to do.

Show child attributes
typestringrequired

What the requirement is attached to: BENEFICIARY_DOCUMENT for a payment instruction, OPERATION_DOCUMENT for an operation.

BENEFICIARY_DOCUMENTOPERATION_DOCUMENT
Example: "BENEFICIARY_DOCUMENT"
documentTypestringrequired

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.

Example: "IDENTITY_VERIFICATION"
anyOfstring[]required

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.

reasonobject | null

Why this requirement is open. Present when compliance explained itself, typically on errors.

Show child attributes
codestring
Example: "DOCUMENT_REQUESTED"
messagestring
Example: "The file is not legible"
401Missing or invalid authentication token.
codestringrequired

Machine-readable error code.

messagestringrequired

Human-readable description.

detailsobject
404Beneficiary not found.
codestringrequired

Machine-readable error code.

messagestringrequired

Human-readable description.

detailsobject