HydraCore
API by router

Stripe

Generate a Stripe Express dashboard login link.

Lets the PaaS customer access their Stripe dashboard to view payouts, transactions, and manage their account settings.

"Follow the money." — Deep Throat, All the President's Men

POST
/v1/stripe/connect/dashboard-link
AuthorizationBearer <token>

In: header

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X POST "https://loading/v1/stripe/connect/dashboard-link" \  -H "X-Api-Key: string"
{
  "url": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create or resume Stripe Connect onboarding.

If the customer doesn't have a connected account yet, creates one. Returns an Account Link URL that redirects the customer to Stripe's hosted onboarding flow (Express).

"You had me at hello." — Dorothy Boyd, Jerry Maguire (about Stripe's hosted onboarding UX)

POST
/v1/stripe/connect/onboard
AuthorizationBearer <token>

In: header

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X POST "https://loading/v1/stripe/connect/onboard" \  -H "X-Api-Key: string"
{
  "account_id": "string",
  "url": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Connect Status

Check the current Stripe Connect account status.

"Are you not entertained?" — Maximus, Gladiator (about checking if Stripe onboarding is complete)

GET
/v1/stripe/connect/status
AuthorizationBearer <token>

In: header

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X GET "https://loading/v1/stripe/connect/status" \  -H "X-Api-Key: string"
{
  "account_id": "string",
  "charges_enabled": false,
  "details_submitted": false,
  "has_account": true,
  "onboarding_complete": false,
  "payouts_enabled": false
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}