Skip to main content
POST
/
payment_intents
/
{id}
/
confirm
Confirm a Payment Intent
curl --request POST \
  --url https://api.staging.blackbird.xyz/flynet/v1/payment_intents/{id}/confirm
Confirms a pending intent and transfers FLY from the customer’s wallet to the merchant. The customer must already hold enough FLY. Auth: OAuth access token.

Request body

{
  "user_id": "{uuid}"
}

Example

curl -X POST https://api.staging.blackbird.xyz/flynet/v1/payment_intents/{uuid}/confirm \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "user_id": "{uuid}" }'

Response

{
  "id": "{uuid}",
  "object": "payment_intent",
  "status": "paid",
  "paid_at": "2026-05-11T20:01:00Z",
  "amount": { "value": "1000000000000000000", "currency": "FLY" }
}

Errors

CodeMeaning
400 payment0030Customer has insufficient FLY.
400 paymentIntent0003Intent is not in a confirmable state.
401Missing or invalid OAuth bearer. Empty body.