API Reference
Get a payment by externalId
/payment/api/v1/intents/by-external/{externalId}https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comSame response as the lookup by id, searching by the externalId you set on creation.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Your externalId.
Responses
200The intent.
Internal GUID of the intent.
Your externalId.
"pedido-123"Intent status. In Mimicr: Pending (validation), PendingPSP (sent to the SPI), PendingRetry (recoverable failure), Completed (webhook Released) or Error (webhook Declined).
PendingPendingRetryPendingPSPCompletedErrorAmount in BRL.
150How many times the send was retried.
Creation time.
"2026-07-08T12:00:00Z"Last update.
"2026-07-08T12:00:00Z"Last status change.
When the Pix settled.
URL that receives the webhook.
Fingerprint of the creation request.
"70166a0c3342addd"Show child attributes
GUID of the payment (not of the intent).
Payment method.
Pix-KeyPix-BankDataPix-CopyPastePix-SessionReceiver data as sent on creation, serialized as a JSON string.
"{\"pixKeyType\":\"EMAIL\",\"pixKeyValue\":\"cliente@exemplo.com\"}"Transaction id.
"149086590"Pix end-to-end id; use it to reconcile with the statement.
"E29079725202610230117Dur2utScejU"Creation time.
"2026-07-08T12:00:00Z"Last update.
Errors while sending the Pix, with the attempt 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"Error type (in Mimicr, 1 recoverable and 2 final).
1Validation errors.
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"Pre-validations requested on creation.
Show child attributes
Pre-validation id.
Type.
AccountDestinationReceiverCreation time.
"2026-07-08T12:00:00Z"Last evaluation.
Status history, oldest first.
Show child attributes
Transition id.
Previous status.
New status.
Reason for the transition.
When the transition happened.
"2026-07-08T12:00:00Z"401Missing, expired or invalid token. Empty body.
404Intent not found or owned by another merchant.
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."