POST /api/auth/verify to complete sign-in and establish a session.
Endpoint
POST /api/auth/challenge
No authentication is required to call this endpoint.
Request Body
string
required
Your Stellar Ed25519 public key, beginning with
G. Must be a valid Stellar
account address (56-character StrKey-encoded key).Example: GAHJJJKMOKYE4RVPZEWZTKH5FVI4PA3VL7GK2LFNUBSGBV8XVMHXV6RResponse
All Pay3 API responses are wrapped in a standard envelope:200 OK response returns a challenge object inside data. Pass the message field to your wallet signer, then send the resulting signature along with the nonce to the verify endpoint.
object
The challenge payload.
string
A unique identifier for this API request, useful for support and debugging.
Challenges expire 5 minutes after issuance. If your user takes longer than that to sign, request a fresh challenge. Each new request for the same wallet address automatically invalidates any previously unconsumed challenge for that address.