palbaseDocs

Palbase Payments · API

GET/payments/intents/{intent_id}

Get payment intent

Reads a PaymentIntent's current canonical status. Authorized by secret key, matching customer JWT, or matching client_secret query parameter.

Called by your app, with the publishable key; or a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.

Path

intent_idstring · requiredPaymentIntent UUID.

Query

client_secretstring · optionalIntent client_secret for guest or publishable-key callers.
curl
curl -X GET "https://<your-ref>.palbase.studio/payments/intents/<intent_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200OK

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation GetIntent of payments's contract.