Create a Payment Intent
Payments
Create a Payment Intent
POST
Create a Payment Intent
Creates a new Payment Intent. The intent enters
Same
pending status until
you call /confirm. Requires the flynet_merchant_id issued during
onboarding.
Auth: OAuth access token.
Request body
expires_at and metadata are optional. All other fields are required.
Response
HTTP 201 on first create:idempotency_key plus same flynet_merchant_id returns HTTP 200
with the existing intent.
Errors
| Code | Meaning |
|---|---|
400 invalid_request_error | Request body is malformed. |
| 401 | Missing or invalid OAuth bearer. Empty body. |
404 resource_not_found | flynet_merchant_id is not visible to your app. |