palbaseDocs

Palbase Payments · API

GET/payments/callback/{provider}/{attempt_id}

Handle GET provider callback

Central 3DS / Checkout callback bridge: asks the provider how the attempt's payment stands, by what the attempt was given when it was made (a session, token or payment id in the request names nothing), settles the PaymentIntent only if the answer is that attempt's own, and redirects or posts a message back to the app.

Called by .

Path

providerstring · requiredProvider identifier (stripe, iyzico).
attempt_idstring · requiredPaymentAttempt UUID.

Query

session_idstring · optionalStripe Checkout session ID.
tokenstring · optionaliyzico checkout/3DS token.
curl
curl -X GET "https://<your-ref>.palbase.studio/payments/callback/<provider>/<attempt_id>"

Responses

200HTML redirect/postMessage bridge page

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

Operation ProviderCallbackGet of payments's contract.