API Reference
Register a Pix key
/account/api/v1/{conta}/pix/keyshttps://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comRegisters a key. It starts as PENDING; EMAIL and PHONE keys go through an ownership check before becoming ACTIVE. In Mimicr, EVP and TAX_ID become ACTIVE on the next call and EMAIL/PHONE wait for the pixkey.confirm action.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Which account to read: transactional (where deposits come in and payments go out) or owner (the owner/billing account, for fees and settlements with Pay4Fun). The contracts are identical.
transactionalownerBody
application/jsonKey type.
TAX_IDEVPEMAILPHONEThe key value. For EVP and TAX_ID it is generated or derived automatically.
"financeiro@suaempresa.com"Responses
200Request registered.
Registration protocol.
Show child attributes
The key value.
"financeiro@suaempresa.com"Key type.
TAX_IDEVPEMAILPHONEKey status.
ACTIVEPENDING400Invalid type or value.
Always false on errors.
false5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).
5001Error message.
"Deposit intent not found."401Missing, expired or invalid token. Empty body.
409In Mimicr, key already registered.
Always false on errors.
false5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).
5001Error message.
"Deposit intent not found."