@apple/app-store-server-library
    Preparing search index...

    Interface AdvancedCommerceOneTimeChargeCreateRequest

    The request data your app provides when a customer purchases a one-time-charge product.

    OneTimeChargeCreateRequest

    interface AdvancedCommerceOneTimeChargeCreateRequest {
        currency: string;
        item: AdvancedCommerceOneTimeChargeItem;
        operation: "CREATE_ONE_TIME_CHARGE";
        requestInfo: AdvancedCommerceRequestInfo;
        storefront?: string;
        taxCode: string;
        version: "1";
    }

    Hierarchy (View Summary)

    Index

    Properties

    currency: string

    The currency of the price of the product.

    currency

    The details of the product for purchase.

    OneTimeChargeItem

    operation: "CREATE_ONE_TIME_CHARGE"

    The constant that represents the operation of this request.

    The metadata to include in server requests.

    RequestInfo

    storefront?: string

    The storefront for the transaction.

    storefront

    taxCode: string

    The tax code for this product.

    taxCode

    version: "1"

    The version number of the API.