diff --git a/packages/apple-api-types/src/app-store-server.interface.ts b/packages/apple-api-types/src/app-store-server.interface.ts index 54b6748..d3ab589 100644 --- a/packages/apple-api-types/src/app-store-server.interface.ts +++ b/packages/apple-api-types/src/app-store-server.interface.ts @@ -9,6 +9,7 @@ import { NotificationSubtype, NotificationType, OfferType, + OrderLookupStatus, PriceIncreaseStatus, SubscriptionStatus, Type, @@ -351,3 +352,18 @@ export interface StatusResponse { */ bundleId: string; } + +/** + * @link https://developer.apple.com/documentation/appstoreserverapi/orderlookupresponse + */ +export interface OrderLookupResponse { + /** + * The status that indicates whether the order ID is valid. + */ + status: OrderLookupStatus; + + /** + * An array of in-app purchase transactions that are part of order, signed by Apple, in JSON Web Signature format. + */ + signedTransactions: JWSTransaction[]; +}