Skip to content

Get Payment by ID​

GET
/bridge-payment/payments/{id}

Get detailed information about a specific payment. Users can only access their own payments. Guest users with token can access payments filtered by their email.

Authorizations​

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)
or
GuestToken

Guest token for anonymous checkout

TypeAPI Key (query: token)

Parameters​

Path Parameters

id*

Payment ID

Typestring
Required
Example"pay_1234567890"

Query Parameters

token

Guest token for accessing guest payment

Typestring

Responses​

Payment details retrieved successfully

application/json
JSON
{
"success": true,
"data": {
"id": "pay_1234567890",
"subtotal_cents": 5000,
"tax_cents": 500,
"discount_cents": 0,
"total_cents": 5500,
"amount_cents": 5500,
"currency": "USD",
"status": "succeeded",
"description": "Monthly subscription payment",
"concept": "Product Purchase",
"reference_code": "ORD-2024-001",
"category": "subscription",
"tags": "premium,monthly",
"provider_id": "stripe",
"provider_payment_id": "pi_xxx",
"provider_intent_id": "pi_xxx",
"client_secret": "pi_xxx_secret_yyy",
"payment_method_id": "pm_1234567890",
"payment_method": {
"id": "pm_1234567890",
"payment_type": "card",
"wallet_type": "apple_pay",
"card_brand": "visa",
"last_four": "4242",
"expiry_month": "12",
"expiry_year": "2025",
"alias": "My Visa Card"
},
"is_guest_payment": false,
"guest_email": "[email protected]",
"metadata": {
},
"created_at": "string",
"updated_at": "string",
"completed_at": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI