{"openapi":"3.1.0","info":{"title":"Tease API","version":"1"},"tags":[{"name":"Earnings"}],"servers":[{"url":"https://app.tease.club"}],"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"paths":{"/v1/accounts/{account_id}/order-products":{"get":{"summary":"List Order Products","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__order_products_v1_accounts__account_id__order_products_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Earnings"]}},"/v1/accounts/{account_id}/payment-transactions":{"get":{"summary":"List Payment Transactions","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__payment_transactions_v1_accounts__account_id__payment_transactions_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Earnings"]}},"/v1/accounts/{account_id}/payment-wallets":{"get":{"summary":"List Payment Wallets","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__payment_wallets_v1_accounts__account_id__payment_wallets_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Earnings"]}},"/v1/accounts/{account_id}/payout-documentation":{"get":{"summary":"Get Payout Documentation","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__payout_documentation_v1_accounts__account_id__payout_documentation_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Earnings"]}},"/v1/accounts/{account_id}/payout-methods":{"get":{"summary":"List Payout Methods","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__payout_methods_v1_accounts__account_id__payout_methods_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Earnings"]}},"/v1/accounts/{account_id}/earnings":{"get":{"summary":"Read earnings","description":"Revenue over a window (all time by default): totals, kinds, wallets, payout requests, counted on the call.","operationId":"get_earnings_v1_accounts__account_id__earnings_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"occurred_from","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Occurred From"}},{"name":"occurred_to","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Occurred To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","tags":["Earnings"]}}}}
