View Source AppStore.API.ConsumptionInformation (App Store v0.3.1)

The module for Consumption Information

Summary

Functions

Send consumption information about a consumable in-app purchase to the App Store, after your server receives a consumption request notification.

Types

Link to this type

original_transaction_id()

View Source
@type original_transaction_id() :: String.t()

Functions

Link to this function

send_consumption_information(api_config, token, original_transaction_id, body)

View Source
@spec send_consumption_information(
  AppStore.API.Config.t(),
  String.t(),
  original_transaction_id(),
  map()
) :: {:error, AppStore.API.Error.t()} | {:ok, AppStore.API.Response.t()}

Send consumption information about a consumable in-app purchase to the App Store, after your server receives a consumption request notification.

Official documentation: https://developer.apple.com/documentation/appstoreserverapi/send_consumption_information