Skip to main content
POST
/
v1
/
ui
/
stripe
/
oauth
/
callback
Exchange authorization code
curl --request POST \
  --url https://api.example.com/v1/ui/stripe/oauth/callback \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "state": "<string>",
  "redirectUri": "<string>"
}
'
{
  "success": true,
  "error": "<string>",
  "source": "<string>"
}

Body

application/json
code
string
required
Minimum string length: 1
state
string
required
Minimum string length: 1
redirectUri
string

Response

200 - application/json

Stripe account linked successfully

success
boolean
error
string
source
string