Skip to main content
POST
/
billing
/
setup
Setup payment method
curl --request POST \
  --url https://api.goyappr.com/billing/setup \
  --header 'Authorization: Bearer <token>'
{
  "checkoutUrl": "<string>"
}

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys.

Response

200 - application/json

Checkout URL

checkoutUrl
string<uri>