Get Payment Details
Retrieve detailed information about a specific payment
Overview
Returns comprehensive details about a payment, including the amount, fees, customer information, payment method, and transaction status. Use this endpoint for reconciliation, to verify payment status on-demand, or to retrieve data you may have missed from a webhook.10000 = $100.00).Authentication
This endpoint requires your Secret API Key (server-side only). See Authentication for details.Path Parameters
Response Fields
succeeded, failed, pending, processing, pending_review, declined, expired, or null if no payment attempt was made.null if the payment has not been completed yet.amount - fees). This is what your business receives. null if the payment has not been completed yet.USD).stripe_credit, paypal, stripe_apple_pay).stripe, paypal, payssion).null if the payment has not been completed.null if the payment has not been completed.FR, US).Example Requests
Example Response
Error Responses
401 -- Unauthorized
401 -- Unauthorized
404 -- Payment not found
404 -- Payment not found
session_id does not exist or does not belong to your business.How to resolve: Verify the session_id is correct. You can only retrieve payments created by your own business.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The session ID returned when you created the payment session
Response
Payment details retrieved successfully
Unique identifier for the payment session
Current payment status
Gross amount in cents (what the customer pays)
Total fees in cents (null if payment not completed)
Net amount in cents (amount - fees, null if payment not completed)
Three-letter ISO currency code
Your unique order identifier
Customer identifier
Payment description
Array of items from the original session
Custom key-value pairs attached to this session
Payment method identifier (e.g., stripe_credit, paypal)
Payment provider used (e.g., stripe, paypal)
ISO 8601 timestamp of session creation
Customer billing information (null if payment not completed)
Payment method details (null if payment not completed)
End-user's IP address
Two-letter country code from IP geolocation
End-user's browser User-Agent string