Skip to content

Commit

Permalink
feat: add OrderLookupResponse interface
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremybarbet committed Feb 23, 2023
1 parent 4dafa33 commit f964b39
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/apple-api-types/src/app-store-server.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
NotificationSubtype,
NotificationType,
OfferType,
OrderLookupStatus,
PriceIncreaseStatus,
SubscriptionStatus,
Type,
Expand Down Expand Up @@ -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[];
}

0 comments on commit f964b39

Please sign in to comment.