Examples

  1. Bill Once: Fulfill Purchase

    Here is a sample fulfill purchase without the header (For more information on the fields, see the API and SDK Overview section above):

    Request

     {
      "operation": "Purchase",
      "reason": "FULFILL",
      "productId": "GamePack1",
      "userId": "550e8400",
      "purchaseToken":"6f3092e5-0326-42b7-a107-416234d548d8"
     }
    

    Response

     {
      "response": "OK"
     }
    
  2. Bill Once: Revoke Purchase

    Here is a sample revoke purchase without the header (For more information on the fields, see the API and SDK Overview section above)

    Request

     {
      "operation": "Purchase",
      "reason": "REVOKE",
      "productId": "GamePack1",
      "userId": "550e8400",
      "purchaseToken":"6f3092e5-0326-42b7-a107-416234d548d8"
     }
    

    Response

     {
      "response": "OK"
     }