API Reference
Payments (Pay Out)

Withdraw errors

GET/payment/api/v1/intents/{id}/withdraw-errors
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

Errors while sending the Pix (after validation), each with the log of every attempt. canRetry tells whether the error is recoverable.

Authorization

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

Path parameters

idstring<uuid>required

Internal GUID of the intent (the id returned on creation or in the Location header).

Responses

200Send errors (empty array if none).
idstring<uuid>

Error id.

errorCodestring

Error code (in Mimicr, SPI ISO 20022 codes such as AC03, AM04, AB03, RR04).

Example: "AB03"
errorDescriptionstring

Error description.

canRetryboolean

true when the error is recoverable and the send will be retried.

processedboolean

true once the error has been handled (for example by a later successful attempt).

processedAtstring | null<date-time>

When the error was handled.

createdAtstring<date-time>

When the error happened.

Example: "2026-07-08T12:00:00Z"
logsobject[]

One entry per failed attempt.

Show child attributes
idstring<uuid>

Attempt id.

errorCodestring

Error code of the attempt.

Example: "AB03"
errorDescriptionstring

Description of the attempt's error.

Example: "Timeout no SPI ao enviar o Pix"
attemptedAtstring<date-time>

When the attempt happened.

Example: "2026-07-08T12:00:00Z"
errorTypeinteger

Error type (in Mimicr, 1 recoverable and 2 final).

Example: 1
401Missing, expired or invalid token. Empty body.
404Intent not found or owned by another merchant.
successbooleanrequired

Always false on errors.

Example: false
codeintegerrequired

5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).

Example: 5001
messagestringrequired

Error message.

Example: "Deposit intent not found."