TransactionsResponse
Defined in: v1/schemas.ts:149
Inferred TypeScript type for TransactionsResponseSchema.
Extends
Section titled “Extends”output<typeofTransactionsResponseSchema>
Properties
Section titled “Properties”
optionalmeta?: {from?:number;number_of_pages?:number;page?:number;per_page?:number;to?:number;total?:number; }
Defined in: v1/schemas.ts:145
optionalfrom?:number
number_of_pages?
Section titled “number_of_pages?”
optionalnumber_of_pages?:number
optionalpage?:number
per_page?
Section titled “per_page?”
optionalper_page?:number
optionalto?:number
total?
Section titled “total?”
optionaltotal?:number
Inherited from
Section titled “Inherited from”z.infer.meta
transactions
Section titled “transactions”transactions: {
affiliate_fees?:number|null;affiliate_id?:number|null;amount_refunded?:number;author_fees?:number|null;author_id?:number|null;charge:number;chargeback_fee?:number|null;coupon_id?:number|null;created_at:string;currency:string;final_price:number;has_chargeback?:boolean|null;id:number;pricing_plan_id?:number;purchased_at?:string;refunded_at?:string|null;revenue?:number;sale_id?:number;status?:string|null;tax_charge?:number;user_id:number; }[]
Defined in: v1/schemas.ts:144
affiliate_fees?
Section titled “affiliate_fees?”
optionalaffiliate_fees?:number|null
affiliate_id?
Section titled “affiliate_id?”
optionalaffiliate_id?:number|null
amount_refunded?
Section titled “amount_refunded?”
optionalamount_refunded?:number
author_fees?
Section titled “author_fees?”
optionalauthor_fees?:number|null
author_id?
Section titled “author_id?”
optionalauthor_id?:number|null
charge
Section titled “charge”charge:
number
chargeback_fee?
Section titled “chargeback_fee?”
optionalchargeback_fee?:number|null
coupon_id?
Section titled “coupon_id?”
optionalcoupon_id?:number|null
created_at
Section titled “created_at”created_at:
string
currency
Section titled “currency”currency:
string
final_price
Section titled “final_price”final_price:
number
has_chargeback?
Section titled “has_chargeback?”
optionalhas_chargeback?:boolean|null
id:
number
pricing_plan_id?
Section titled “pricing_plan_id?”
optionalpricing_plan_id?:number
purchased_at?
Section titled “purchased_at?”
optionalpurchased_at?:string
refunded_at?
Section titled “refunded_at?”
optionalrefunded_at?:string|null
revenue?
Section titled “revenue?”
optionalrevenue?:number
sale_id?
Section titled “sale_id?”
optionalsale_id?:number
status?
Section titled “status?”
optionalstatus?:string|null
tax_charge?
Section titled “tax_charge?”
optionaltax_charge?:number
user_id
Section titled “user_id”user_id:
number
Inherited from
Section titled “Inherited from”z.infer.transactions