Create Payment and Poll Status
A 3-step recipe with Fintecture. We can help you get access.
Recipe · 3 steps
Create Payment and Poll Status
with Fintecture · Payment Initiation Management
Create a payment session, then poll until the payment reaches a terminal status.
- Create an Immediate Transfer payment session to obtain a payment id and connect URL.
- Read the payment back and decide whether it has reached a terminal state. A completed payment ends the workflow; a rejected, cancelled, or failed payment routes to failure; anything else loops back to poll again.
- Terminal failure handling — read the payment one final time so the failing status and attributes are captured in the workflow outputs.
What you'll need to have ready
- accessToken: A valid PIS-scoped bearer access token.
- amount: Payment amount as a string in the given currency (e.g. "49.90").
- currency: ISO currency code (EUR, GBP, or PLN).
- communication: Free-form remittance information for the payment.
- requestId: Unique request identifier (UUID v4) for the create call.
For your developer
Arazzo workflow fintecture:payment-status-poll, 3 operations: createPisV2Connect → getPaymentSession → getPaymentSession. Specs on APIs.io.