WiPay
WAPIsv2.0.2Accounts

Retrieve Account

Retrieve the email, first name, and last name of an authorized account.

GET
/accounts/{account_number}
AuthorizationBearer <token>

OAuth2 access token obtained from POST /auth/tokens.

In: header

Path Parameters

account_numberstring

WiPay account number.

Match^[0-9]+$

Response Body

curl -X GET "https://tt.wipayfinancial.com/wapi/accounts/string"
{
  "message": "OK",
  "data": {
    "email": "john.smith+2@mail.com",
    "first_name": "John",
    "last_name": "Smith"
  }
}
{
  "message": "string"
}