Users

Find a user record using either the <code>site_user_identifier</code> or the <code>pnm_user_identifier</code>.

Request

  • Base URL
    https://api.paynearme-sandbox.com/json-api
  • Auth
    • OAuth 2
      Client credentials
      Token URLhttps://login.paynearme.com/oauth/token
    • or API key in query parameter signature

Request body

OR

Example request

{
  "site_user_identifier": "99999999"
}

Response

User Found

OR

Example response

{
  "status": "ok",
  "user": {
    "user_type": "push",
    "push_user_identifier": "88885555",
    "push_user_status": "ok_to_receive",
    "push_first_name": "John",
    "push_middle_name": "Diego",
    "push_last_name": "Smith",
    "push_full_name": "John Smith",
    "push_street": "123 Fake Street",
    "push_city": "Allen",
    "push_state": "TX",
    "push_postal_code": "75013",
    "push_country": "US",
    "push_year_of_birth": "1980",
    "push_pre_verified": "false",
    "push_manually_verified": "false"
  }
}

Changes

    • breaking

      removed the success response with the status

    • info

      api operation id get_user was added

    • info

      the request property site_identifier with a default value became required

    4 more changes in this revision