Shop payment account connect
post/payments/accounts
Connect a payment account (the business's own Stripe through a connection, or Skerry).
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:admin- Sdk
shop.paymentAccount.connect- Cli
shop payment account connect
Request bodyapplication/json, required
- providerstringrequiredOne of: skerry, stripe, mock.
- modestringOne of: test, live. Default: test.
- labelstringDefault: . At most 80 characters.
- connectionIdstringAt most 100 characters.
- legalNamestringAt most 200 characters.
- emailstring (email)At most 254 characters.
- countrystringPattern: ^[A-Z]{2}$.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring