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
Body
Request to create a new payment profile session for setting up a saved payment method.
The unique identifier of the order this payment profile session is associated with.
"9f8e7d6c-5b4a-3210-9876-543210987654"
Payment service provider for processing transactions.
"STRIPE"
Whether to set the payment method as the default for future payments. Only applicable if savePaymentProfile is true and the customer is authenticated. Defaults to false.
false
A set of key-value pairs that can be attached to an object for storing additional information in a semi-structured format.
Response
Payment profile session created successfully
A payment profile session that wraps the process of setting up and saving a payment method for future use.
The unique identifier for this payment profile session.
"69321a62-f1fe-461f-8761-a19ae6587bb2"
The unique identifier of the order this payment profile session is associated with.
"44567801-a504-4f09-8089-31ea78bc239b"
Payment service provider for processing transactions.
"STRIPE"
Current status of a payment profile session lifecycle.
PENDING
, REQUIRES_ACTION
, COMPLETED
, FAILED
"PENDING"
Payment provider-specific configurations for widget rendering.
Custom key-value pairs for additional payment profile session information.
{
"source": "mobile_app",
"campaign": "summer_2024"
}
When this payment profile session was created.
"2024-09-29T10:00:00Z"
When this payment profile session was last updated.
"2024-09-29T10:30:00Z"