WiPay
WAPIsv2.0.6Transactions

Retrieve Transaction

Retrieve the current state of a transaction owned by the authenticated account. Requires `wapi-transactions-retrieve` or `wapi-transactions-all` scope. Use a valid OAuth bearer token or an environment-matched WAPI Key, not a Payments API response-hash key. The public sandbox account is shared; your merchant credentials do not grant access to its transactions. See [Sandbox account ownership and verification](/platforms-and-environments#account-ownership-and-verification). The response is the current snapshot and can differ from an earlier webhook after a lifecycle update. A `payment.error` event can accompany `status: failed`, and `status_desc: Normal` does not mean payment success. See [Interpreting payment state](/webhooks/payments-api#interpreting-payment-state).

GET
/transactions/{transaction_id}
AuthorizationBearer <token>

OAuth2 access token obtained from POST /auth/tokens.

In: header

Path Parameters

transaction_idstring

Unique transaction identifier.

Response Body

curl -X GET "https://tt.wipayfinancial.com/wapi/transactions/string"
{
  "message": "string",
  "data": {
    "card": "string",
    "currency": "string",
    "currency_credited": "string",
    "customer_address": "string",
    "customer_email": "string",
    "customer_name": "string",
    "customer_phone": "string",
    "data": "string",
    "date": "2019-08-24T14:15:22Z",
    "fee_structure": "string",
    "hash": "string",
    "message": "string",
    "order_id": "string",
    "origin": "string",
    "receiver": "string",
    "status": "success",
    "status_desc": "string",
    "total": "string",
    "total_credited": "string",
    "transaction_id": "string"
  }
}
{
  "message": "string"
}
{
  "message": "string"
}