Skip to main content
A setup session (sps_…) is a hosted Ionic page where a business owner adds a card for agent purchases. Your server creates it, sends the owner to url, and retrieves the session to confirm the card was saved. Saving a card doesn’t give any agent access to it. The owner grants access to an agent separately. See Manage cards and agent purchases.

Attributes

string
Unique identifier for the setup session (sps_…).
string
The business the card is added to.
boolean
true in live mode, false in test mode.
enum
pending, completed, expired, or canceled. Setup is done only when status is completed and card_id is set.
string | null
The hosted page to send the owner to, returned only while the session is pending. A retry or read of a pending session can return a new link; earlier links keep working until the session ends. null once the session is completed, expired, or canceled.
string | null
The saved card (spcard_…), once setup completes.
timestamp
When the session was created, in Unix seconds.
timestamp
When the session expires, 30 minutes after creation. Issuing a new link doesn’t extend it.