Authorizations
An API key that grants access to the Connect API. You can create and manage API keys in the portal.
Headers
A unique key to ensure idempotency of requests. If a request with the same key has already been processed, the same result will be returned. The key must be unique for each distinct operation. Keys are expired after 24 hours, but we recommend using a new key for each request.
Modified requests with the same idempotency keys are rejected with a 409 Conflict
status code.
256
Path Parameters
The unique identifier of the payment session to cancel.
Body
Response
Payment session cancelled successfully
A payment session that wraps the payment process and collects payment information from the user for a specific order.
The unique identifier for this payment session.
"d2e3f4a5-b6c7-8901-2345-012345678901"
The unique identifier of the order this payment session is for.
"e3f4a5b6-c7d8-9012-3456-123456789012"
Payment service provider for processing transactions.
"STRIPE"
Whether to save the payment profile for future use. Only applicable if the customer is authenticated or for the initial order. Defaults to false.
true
Details specific to the payment provider used for this payment session. Stripe-specific configuration for payment session widget rendering.
Current status of a payment session lifecycle.
PENDING
, REQUIRES_ACTION
, COMPLETED
, FAILED
"PENDING"
Custom key-value pairs for additional payment session information.
{
"source": "mobile_app",
"campaign": "summer_2024"
}
When this payment session was created.
"2024-09-29T10:00:00Z"
When this payment session was last updated.
"2024-09-29T10:30:00Z"
The saved payment method to use for this payment (for returning customers).
"f4a5b6c7-d8e9-0123-4567-234567890123"