Skip to main content
POST
Create a Payment Intent
Creates a new Payment Intent. The intent enters pending status until you call /confirm. Requires the flynet_merchant_id issued during onboarding.
Chef’s warning - idempotency_key is required. Use the customer’s order ID so retries dedupe naturally.
Auth: OAuth access token.

Request body

expires_at and metadata are optional. All other fields are required.

Response

HTTP 201 on first create:
Same idempotency_key plus same flynet_merchant_id returns HTTP 200 with the existing intent.

Errors