Accounting subscription detect
post/accounting/subscriptions/detect
Ask Skerry to find subscriptions in charges from the customer's activity, a statement or mail receipts.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:write- Graphql
Mutation.accountingDetectSubscriptions- Sdk
accounting.subscription.detect- Cli
accounting subscription detect
Request bodyapplication/json, required
- chargeslist of objectrequiredCharges from the customer's activity, a statement or mail receipts.
- datestringrequiredThe day of the charge, YYYY-MM-DD. Pattern: ^\d{4}-\d{2}-\d{2}$.
- amountMinorintegerrequiredThe charge in minor units. At least 0.
- currencystringrequiredThe currency, three letters. At most 3 characters.
- merchantstringrequiredWho was paid. At most 200 characters.
- datestringrequired
Responses
- 200application/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