POST
/
monetization
/
integrations
/
v1
/
stripe
curl --request POST \
  --url https://api.mottostreaming.com/monetization/integrations/v1/stripe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "secret_key": "<string>",
  "test_secret_key": "<string>"
}'
{
  "integration": {
    "project_id": "<string>",
    "secret_key": "<string>",
    "test_secret_key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

StripeIntegration

project_id
string
required

The Motto project to which this integration belongs

secret_key
string
required

The Stripe secret key connected to the "live" environment in Stripe.

test_secret_key
string
required

The Stripe secret key connected to the "test" environment in Stripe.

Response

200
application/json
OK
integration
object

StripeIntegration