Agentcard

Start payment-provider onboarding

Begins connecting your organization to a payment provider (e.g. agentcard). Returns a hosted URL where an admin authorizes the connection; on completion the provider redirects back and Linq stores your connected credentials.

post/v3/payments/providers/{provider}/connect

Request

  • Base URL: https://api.linqapp.com/api/partner
  • URL: https://api.linqapp.com/api/partner/v3/payments/providers/{provider}/connect
  • Auth: HTTP bearer

Path parameters

providerstring required

Payment provider key (e.g. agentcard)

Request body

return_urlstring required

Where to send the admin after they authorize the connection.

Example request

{
  "return_url": "https://partner.example/settings/payments"
}

Response

Onboarding session created

session_idstring
hosted_urlstring

Send the admin here to authorize the connection.

statusstring

Example response

{
  "session_id": "pcs_9f2a",
  "hosted_url": "https://app.agentcard.sh/connect-platform/tok_abc",
  "status": "pending"
}

Changes

No recorded changes to this operation across all 1 revision of this API.