@mathrunet/masamune
Version:
Manages packages for the server portion (NodeJS) of the Masamune framework.
27 lines (26 loc) • 738 B
TypeScript
/**
* Perform IOS receipt verification.
*
* IOSの受信確認を実行します。
*
* @param {String} receiptData
* Receipt data for purchases.
*
* 購入の際のレシートデータ。
*
* @param {String} password
* SharedSecret for AppStore, obtained from [Apps]->[App Info]->[Shared Secret for App] in the AppStore.
*
* AppStoreのSharedSecret。AppStoreの[アプリ]->[App情報]->[App用共有シークレット]から取得します。
*
* @return {Promise<{ [key: string]: any; }}
* Receipt information for the item.
*
* アイテムの受領情報。
*/
export declare function verifyIOS({ receiptData, password }: {
receiptData: string;
password: string;
}): Promise<{
[key: string]: any;
}>;