Skip to content

Instantly share code, notes, and snippets.

@jakiestfu
Created October 25, 2018 18:08
Show Gist options
  • Save jakiestfu/48261fe67b000a09b8137027bf779a30 to your computer and use it in GitHub Desktop.
Save jakiestfu/48261fe67b000a09b8137027bf779a30 to your computer and use it in GitHub Desktop.
{
"purchase": {
"id": "i-am-obfuscated",
"cart": {
"lineItems": [
{
"product": {
"sku": "i-am-sku",
"name": "hello world",
"unitPrice": 5,
"effectiveUnitPrice": 5
},
"quantity": 1
}
],
"ledger": {
"subtotal": 5,
"tax": 0.15,
"shipping": 0,
"walletBalance": 0
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment