Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

A Platform Connect secret key (sk_…) sent as Authorization: Bearer <key>.

Path Parameters

id
string
required

Account Link ID saved against your customer before redirect.

Pattern: ^alink_[0-9A-Za-z]{24}$

Response

Current state of the link for your Platform and key mode.

id
string
required

Account Link ID.

Pattern: ^alink_[0-9A-Za-z]{24}$
object
enum<string>
required
Available options:
account_link
version
integer<int64>
required

Increases each time this result changes. Use it to ignore out-of-order webhook deliveries.

version_scope
string
required

The sequence version belongs to: account_link.

external_reference
string
required

The external_reference you sent, or an empty string.

livemode
boolean
required

true for a live-mode link.

expires_at
string<date-time>
required

When the merchant's visit stops accepting actions. Before the merchant opens url, this is the link's expiry.

outcome
enum<string>
required

How the merchant's visit went. It describes the visit, not payment readiness.

  • in_progress: the merchant hasn't finished or left yet.
  • merchant_actions_completed: the merchant did everything this visit needed: connected, and signed the application if the configuration includes one. Payments may still be under review.
  • cancelled: the merchant left before connecting.
  • incomplete: the merchant connected, then left before finishing.
  • expired: the link or visit expired first.
  • blocked: the Account or Connection can no longer be used, or the application was closed.
Available options:
in_progress,
merchant_actions_completed,
cancelled,
incomplete,
expired,
blocked
requested_configuration
object
required

A published Connect configuration and the revision of it that applies.

payments_enabled
boolean
required

Whether the Account can take payments in this link's mode right now.

configuration_id
string

The configuration whose terms apply to the merchant's application. Differs from requested_configuration when existing_terms_retained is true.

configuration_revision
integer<int64>

Revision of configuration_id.

pricing_offer_id
string

Pricing on the merchant's application.

connected_account_id
string

The merchant's Account ID. Send it as the Ionic-Account header on requests you make for the merchant. For a new-merchant configuration it's present from creation, before consent, and doesn't by itself let you act for the merchant; wait for connection_id.

connection_id
string

The Connection that grants your Platform access. Present after the owner consents.

application_id
string

The merchant's application, for configurations that include one.

connection_status
string

Current status of connection_id: active, suspended, or disconnected. Present after consent.

onboarding_status
string

Where the merchant is in onboarding. For connect-only configurations it is absent once the owner consents. Read the current value rather than inferring it from the return.

  • awaiting_consent: Ionic created the Account; the owner hasn't clicked Connect yet.
  • collecting: the merchant is filling in the application.
  • awaiting_signature: submitted, waiting for the merchant to sign.
  • under_review: signed; Ionic is reviewing it.
  • approved: the Account can take live payments, including a merchant who already could.
  • closed: the application was closed and can't continue.
existing_terms_retained
boolean

true when the merchant keeps pricing they already have with Ionic instead of this configuration's terms, for example a merchant who already takes live payments.