TransactionRequest
Stay organized with collections
Save and categorize content based on your preferences.
Body of a transaction request from GTAF to a DPA.
JSON representation |
{
"planId": string,
"transactionId": string,
"offerContext": string,
"callbackUrl": string
} |
Fields |
planId |
string
Required. ID of the plan to be purchased.
|
transactionId |
string
Required. A unique identifier for this particular request. If the DPA receives multiple purchase requests with the same transactionId, all but the first should be rejected.
|
offerContext |
string
Context for the data plan offer.
|
callbackUrl |
string
URL for the DPA to call back.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-03 UTC."],[[["This documentation outlines the JSON structure for transaction requests sent from GTAF to a DPA for purchasing data plans."],["The request includes crucial information such as plan ID, a unique transaction ID, offer context, and a callback URL for the DPA to respond."],["Each field within the JSON object has specific requirements and serves a distinct purpose in facilitating the transaction process."]]],["A transaction request from GTAF to a DPA includes four key fields: `planId` (required), representing the ID of the plan to purchase; `transactionId` (required), a unique identifier for the request, where duplicate IDs should be rejected; `offerContext`, providing context for the data plan offer; and `callbackUrl`, specifying the URL for the DPA to use for callback. This information is in the form of a JSON object.\n"]]