palbaseDocs

Palbase Payments · API

POST/payments/callback/{provider}/{attempt_id}

Handle POST provider callback

Central POST->GET callback bridge for Turkish bank 3DS / iyzico form callbacks. Asks the provider how the attempt's payment stands, by what the attempt was given when it was made (a posted token names nothing; a 3-D Secure completion takes the bank's paymentId only when it is the one 3-D Secure began with), settles the PaymentIntent only if the answer is that attempt's own, and returns a clean redirect/postMessage bridge page.

Called by .

Path

providerstring · requiredProvider identifier (stripe, iyzico).
attempt_idstring · requiredPaymentAttempt UUID.
curl
curl -X POST "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 ProviderCallbackPost of payments's contract.