palbaseDocs

Palbase Auth API · API

GET/auth/transactions/{id}

Get a transaction

Returns one of the signed-in user's transactions. A pending transaction whose expires_at has passed reads expired.

Called by a signed-in user of your app, with their token and the publishable key.

Path

idstring · requiredTransaction ID (`tx_…`).
curl
curl -X GET "https://<your-ref>.palbase.studio/auth/transactions/<id>" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200The transaction

401Missing, invalid, or expired credentials

404Resource does not exist or is not visible to the caller

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetTransaction of auth's contract.