TransactionResponse

  • This documentation outlines the JSON response structure returned by the DPA (Digital Payment Agent) after a successful mobile data plan purchase.

  • The response includes details about the purchase, transaction status (e.g., success, failure), and the user's remaining wallet balance.

  • Developers can use this information to integrate with the DPA and display relevant information to users after a purchase.

Response message from the DPA in case of a successful transaction.

JSON representation
{
  "purchase": {
    object (Purchase)
  },
  "transactionStatus": enum (TransactionStatusEnum),
  "walletBalance": {
    object (Money)
  }
}
Fields
purchase

object (Purchase)

Response from the DPA if the purchase request was successful.

transactionStatus

enum (TransactionStatusEnum)

Status of the transaction that was initiated by GTAF.

walletBalance

object (Money)

Wallet information for the user indicating remaining balance.