Syndai Docs

Where an app's payments stand

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/customers/{customer_id}/payments/{repository_id}

Whether the app takes payments, its business name, support email and terms of sale, unpaid orders, and the Stripe accounts of other apps it could reuse. A signed-in owner or admin only; an API key is refused.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
repository_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
business_name?string|null
reusable_accounts*array<>
sales_terms?string|null
state*string
Value in"off""needs_details""needs_stripe""declined""needs_terms""live""disconnected"
stripe_account_id?string|null
support_email?string|null
tax_active*boolean
unpaid_orders*integer
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/payments/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "business_name": "string",  "reusable_accounts": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "business_name": "string",      "label": "string"    }  ],  "sales_terms": "string",  "state": "off",  "stripe_account_id": "string",  "support_email": "string",  "tax_active": true,  "unpaid_orders": 0}
Was this page helpful?