Rivier/ Reference/ shop

Start or continue Get paid

post/payments/connect/get-paid

Start or continue Get paid: create the business's own Stripe account on first use and return the address where the owner finishes Stripe's setup. Rivier never holds the money; it takes one platform fee on each payment, shown in the answer. Until Stripe has cleared the platform for live money only the sandbox runs.

Before you call

Credential
Authorization: Bearer $KEY
Scope
shop:write
Mcp
rivier_payments_connect_stripe
Graphql
Mutation.shopPaidAccountStart
Sdk
shop.paidAccount.start
Cli
shop paid account start

Request bodyapplication/json, required

  • countrystring
    Pattern: ^[A-Z]{2}$.
  • emailstring (email)
    At most 200 characters.
  • returnTostring
    At most 200 characters. Pattern: ^/(?!/)[A-Za-z0-9._~/-]*$.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown