API Reference
Update an intent's deposits
/deposit/api/v1/intents/{id}/deposithttps://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comUpdates one or more deposits already linked to the intent (new amount or expiration) and regenerates the QR Code. In Mimicr, each item is matched by id or, without it, by method, and only in Draft or Pending.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Internal GUID of the intent (the id returned on creation or in the Location header).
Body
application/jsonDeposits to update; each item needs data.
Show child attributes
Id of the deposit to update. Without it, Mimicr matches by method.
Pix-QrDynamicPix-QrStaticPix-ITPNew amount.
250Currency (default BRL).
Show child attributes
New lifetime in seconds (dynamic QR).
Text for the payer.
Rejects another holder.
Payer document (ITP).
Return URL (ITP).
Responses
200The updated intent, in the lookup format.
Intent GUID.
Deposit or Session.
DepositSessionYour externalId.
"deposito-456"Status in upper case.
DRAFTPENDINGAPPROVEDDECLINEDEXPIREDCANCELEDREFUNDCreation time.
"2026-07-08T12:00:00Z"Last status change.
"2026-07-08T12:00:00Z"The intent's deposits.
Show child attributes
Deposit id.
Deposit status (in Mimicr: PENDING, APPROVED, DECLINED, EXPIRED, CANCELED, RETURNED).
Show child attributes
Rail name.
"Pix"Method description.
"Pix QR Code dinâmico"Method image.
Method currency.
"BRL"Method minimum amount.
0.01Amount in BRL.
200Amount currency.
"BRL"BR Code (copy and paste) or ITP URL.
EndToEndId of the Pix received; use it to reconcile.
Reconciliation id.
Rate applied, when there was a currency conversion.
Original amount, when converted.
Original currency, when converted.
Quote id, when converted.
Pix details; fields that don't apply to the type are omitted.
Show child attributes
Pix type.
DynamicStaticITPPix key (ITP only, always null).
Lifetime in seconds (dynamic).
Rejects another holder (dynamic).
Payer document (ITP).
Return URL (ITP).
Text for the payer.
Creation time.
"2026-07-08T12:00:00Z"Processing refusals (payer's bank), with log.
Show child attributes
Error id.
Error code (in Mimicr, SPI ISO 20022 codes such as AC03, AM04, AB03, RR04).
"AB03"Error description.
true when the error is recoverable and the send will be retried.
true once the error has been handled (for example by a later successful attempt).
When the error was handled.
When the error happened.
"2026-07-08T12:00:00Z"One entry per failed attempt.
Show child attributes
Attempt id.
Error code of the attempt.
"AB03"Description of the attempt's error.
"Timeout no SPI ao enviar o Pix"When the attempt happened.
"2026-07-08T12:00:00Z"Validation errors (pre-validations and screening).
Show child attributes
Sequential error id.
1Validation error code.
"VAL-023"Error message.
Error category (in Mimicr: Configuration, Limits, Session, PreValidation, Screening).
Method of the transaction.
"Pix-Key"When the validation failed.
"2026-07-08T12:00:00Z"Validation results.
Show child attributes
Sequential id.
Deposit evaluated, or null on creation.
In Mimicr, Pre or Post.
Payer, AccountOrigin or Screening.
In Mimicr, Passed or Failed.
Failure code.
Failure message.
When it was evaluated.
"2026-07-08T12:00:00Z"Status history, oldest first.
Show child attributes
Transition id.
New status.
Previous status.
Reason for the transition.
When the transition happened.
"2026-07-08T12:00:00Z"400Validation (for example an item without data) or a status that doesn't allow it (DEP-106).
Problem type reference (RFC 9110).
"https://tools.ietf.org/html/rfc9110#section-15.5.1"Problem summary.
"One or more validation errors occurred."HTTP status.
400Id of the intent involved, or null when there is none yet.
List of errors, one per field.
Show child attributes
Error code (VAL-XXX on Payment, DEP-XXX on Deposit).
"VAL-001"Human-readable message.
"Invalid Pix key"Field that caused the error.
"payment.data.pixKeyValue"401Missing, expired or invalid token. Empty body.
403Intent of another merchant.
Problem type reference (RFC 9110).
"https://tools.ietf.org/html/rfc9110#section-15.5.1"Problem summary.
"One or more validation errors occurred."HTTP status.
400Id of the intent involved, or null when there is none yet.
List of errors, one per field.
Show child attributes
Error code (VAL-XXX on Payment, DEP-XXX on Deposit).
"VAL-001"Human-readable message.
"Invalid Pix key"Field that caused the error.
"payment.data.pixKeyValue"404Intent not found.
Problem type reference (RFC 9110).
"https://tools.ietf.org/html/rfc9110#section-15.5.1"Problem summary.
"One or more validation errors occurred."HTTP status.
400Id of the intent involved, or null when there is none yet.
List of errors, one per field.
Show child attributes
Error code (VAL-XXX on Payment, DEP-XXX on Deposit).
"VAL-001"Human-readable message.
"Invalid Pix key"Field that caused the error.
"payment.data.pixKeyValue"