WebAPI/WebPayment: Difference between revisions

Jump to navigation Jump to search
m
Line 180: Line 180:
<code>
<code>
   {
   {
     iss : sellerIdentifier, // developer identifier in this case
     "iss": sellerIdentifier, // developer identifier in this case
     aud : "tu.com",
     "aud": "tu.com",
     typ : "tu.com/payments/inapp/v1",
     "typ": "tu.com/payments/inapp/v1",
     exp : 1337370900,
     "exp": 1337370900,
     iat : 1337360900,
     "iat": 1337360900,
     request : {
     "request": {
       name : "Demo app",
       "name": "Demo app",
       description : "Demo app",
       "description": "Demo app",
       price :"price" : [
       "price": [
       {
       {
         "country": "US",
         "country": "US",
Line 199: Line 199:
         "amount": 1.99
         "amount": 1.99
       }],
       }],
       postbackURL : "https://marketplace.mozilla.org/postback",
       "defaultPrice": "US",
       chargebackURL : "https://marketplace.mozilla.org/chargeback",
      "postbackURL": "https://marketplace.mozilla.org/postback",
       productData : "my_product_id=123"
       "chargebackURL": "https://marketplace.mozilla.org/chargeback",
       "productData": "my_product_id=123"
     }
     }
   }
   }
Confirmed users
483

edits

Navigation menu