Notifies your system to grant an award to a customer.
Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected.
When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase.
Order ID in the Publisher Dashboard.
"68e25eebdcb1278"
Purchase ID.
"pr_750b85591e1643685718e5443xyz789"
Payment ID.
"68e25eebd76543210"
Date and time of the purchase in UTC.
"2024-07-21T14:17:27.329Z"
Player ID returned in the player authentication process.
"8533676467"
Offer name.
"Starter Pack"
Offer ID.
"684044555ed01178ed2c0b3b"
Offer ID you provided.
"starterpack"
Product details.
Price before taxes in USD cents. Converted in real time.
999
Total price paid in the lowest unit of the local currency.
999
Price paid before taxes in the lowest unit of the local currency.
850
Tax amount in the lowest unit of the local currency.
149
Tax rate (percentage).
17.5
Tax amount in USD cents.
149
ISO 4217 currency code.
"USD"
Currency exchange cost in USD cents.
0
Customer action.
purchase, bonus "purchase"
Action status.
completed "completed"
Base price of the offer in USD cents. If pricePointMetadata is provided and you're using Appcharge's Web Store, its value overrides this one.
1499
Base price of the offer in USD cents.
999
Payment method.
"card"
Country code (2-letter).
"US"
Price paid including taxes. Converted in real time to USD cents.
1148
Email address.
An object for passing data.
{ "userId": "12345", "level": 10 }Receipt ID.
"receipt_abc123"
Estimated Publisher net amount in USD cents.
850.5
Estimated Appcharge fee in USD cents.
148.5
Base price of the price point in USD cents.
999
IP address from which the order was made.
"192.168.1.1"
Zip code (US/Canada only).
"10001"
Award flow. Automatic or manual retry via the Publisher Dashboard.
auto, manual_retry "auto"
Promo code name.
"SUMMER2024"
Discount amount in the currency the order was placed in.
100
Discount rate (percentage).
"10"
Details on offer-related metadata.
Successfully granted award to customer.
Customer purchase ID.
"222673459829966773354378"