Skip to main content
POST
/
api
/
beneficiaries
/
{beneficiaryId}
/
payment-instructions
curl --request POST \ --url https://api.sandbox.tracefinance.com/api/beneficiaries/{beneficiaryId}/payment-instructions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Idempotency-Key: <x-idempotency-key>' \ --data ' { "type": "PIX", "asset": "BRL", "dictKeyType": "CPF", "dictKey": "12345678900" } '
{ "id": "ben-a1b2c3d4-5e6f-7890-abcd-ef1234567890", "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "holder": { "type": "INDIVIDUAL", "firstName": "João", "lastName": "Silva", "taxId": { "value": "52998224725", "type": "CPF" }, "dateOfBirth": "1985-03-15", "address": { "addressLine1": "<string>", "addressLine2": "<string>", "city": "<string>", "state": "<string>", "country": "BR", "postalCode": "<string>" } }, "relationshipType": "SELF_OWNED", "paymentInstructions": [ { "id": "pi-a1b2c3d4-5e6f-7890-abcd-ef1234567890", "asset": "BRL", "currentState": { "status": "PENDING_REVIEW", "createdAt": "2023-11-07T05:31:56Z", "reason": { "code": "INSUFFICIENT_BALANCE", "message": "Insufficient balance for the requested operation", "details": {} } }, "address": { "rail": "PIX_KEY", "dictKeyType": "CPF", "dictKey": "john@example.com" }, "createdAt": "2026-04-14T10:30:00Z" } ], "createdAt": "2026-04-14T10:30:00Z", "updatedAt": "2026-04-14T10:30:00Z" }

Documentation Index

Fetch the complete documentation index at: https://tracefinance-docs-withdrawal-beneficiary-events.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT bearer token. Include as Authorization: Bearer <token>. See the Authentication guide for how to obtain one.

Headers

X-Idempotency-Key
string<uuid>
required

Unique key to ensure idempotent request processing. Required on all POST, PUT, and PATCH requests.

X-Trace-Version
string

API version. Omit to use the default version.

Example:

"1"

Path Parameters

beneficiaryId
string<uuid>
required

UUID of the beneficiary.

Body

application/json

Payment instruction for receiving funds. Discriminated by type.

type
enum<string>
required
Available options:
PIX
asset
enum<string>
required

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

AssetDecimalsAssetDecimals
USD2NZD2
BRL2CHF2
EUR2NOK2
CAD2DKK2
AUD2PLN2
GBP2SEK2
MXN2USDC6
HKD2USDT6
SGD2EURC6
PHP2BRLT6
Available options:
USD,
BRL,
EUR,
CAD,
AUD,
GBP,
MXN,
HKD,
SGD,
PHP,
NZD,
CHF,
NOK,
DKK,
PLN,
SEK,
USDC,
USDT,
EURC,
BRLT
Example:

"BRL"

dictKeyType
enum<string>
required

DICT key type.

Available options:
CPF,
CNPJ,
EMAIL,
PHONE,
EVP
dictKey
string
required

DICT key value.

Example:

"john@example.com"

Response

Payment instruction added. Returns the full beneficiary.

An external beneficiary registered for withdrawals.

id
string<uuid>
required
read-only
Example:

"ben-a1b2c3d4-5e6f-7890-abcd-ef1234567890"

customerId
string<uuid>
required

Customer that owns this beneficiary.

holder
Individual · object
required

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

relationshipType
enum<string>
required

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

Available options:
SELF_OWNED,
THIRD_PARTY
paymentInstructions
object[]
required
createdAt
string<date-time>
required
read-only
Example:

"2026-04-14T10:30:00Z"

updatedAt
string<date-time>
required
read-only
Example:

"2026-04-14T10:30:00Z"