Sandbox Testing

Use magic identifiers to simulate any login outcome in the sandbox — no live platform credentials required.


📘

Sandbox environment only

Magic identifiers only work with a sandbox API key. They have no effect in production.

Overview

When you submit a login request in the sandbox using one of the magic identifiers below, Palenca always returns the corresponding pre-configured response. This lets you test every status code, OTP flow, and error condition your integration needs to handle — without hitting a live platform.

Identifier formats

Email: <platform>+<case>@palenca-tests.com

Example: [email protected]

Phone: A fixed phone number per case. See the platform phone table below.

📘

Phone identifiers

The full phone lookup table is published by engineering. Contact your integration support contact or check the API Reference for the complete list.

Platform support

PlatformEmailPhone
uber
rappi
didi
didi_food
ifood
indriver
pedidos_ya
noventa_nove

Test cases

Final states

Submit the identifier and receive the response in a single call.

Casestatusstatus_detail
successsuccess
incompleteincomplete
invalid_credentialserrorinvalid_credentials
login_refusederrorlogin_refused
platform_unavailableerrorplatform_unavailable
request_timeouterrorrequest_timeout
platform_errorerrorplatform_error
recent_login_successfulerrorrecent_login_successful
not_registerederrornot_registered
bannederrorbanned

OTP flow (2-step)

The first call returns a normal OTP challenge. Any OTP you submit on the second call triggers the error.

Casestatus_detail on 2nd call
invalid_otpinvalid_otp
expired_otpexpired_otp
could_not_send_otpcould_not_send_otp
invalid_otp_auth_keyinvalid_otp_auth_key
invalid_otp_sessioninvalid_otp_session

Account warnings

Returned alongside a success response to simulate accounts with specific conditions.

CaseWarning flag
rider_accountrider_account
fleet_accountfleet_account
incomplete_profile_dataincomplete_profile_data
id_mismatchid_mismatch

Webhooks in sandbox

All sandbox webhook notifications are delivered with a 30-second delay to simulate real-world processing latency. This applies to all webhook events: login.created, login.success, login.incomplete, and login.error.

If you are testing with a tool like webhook.site, wait at least 30 seconds after submitting a login before expecting the notification.

See Webhooks for setup instructions.