GET /api/v1/user
USERS: Show information and associated recipient and remittance ids of the current user

As mentioned in our main Developers page, API access is limited to the user level unless you are a verified business and have signed a VENDOR partner agreement with Rebit.ph. The current user is determined by the API token provided with each call.

Examples

https://rebit.ph/api/v1/user?token=432f65ab0233e95f6cf5e51f3207a222d2423fe558df6ce9bbaed5908d9dd959

PUT /api/v1/user
USERS: Update user attributes

Update user profile information. Note that a user's email address is not editable.

Examples

{
  user: {
    first_name: "Luis",
    last_name:  "Buenaventura",
    mobile:     "+639175551111",
    address:    "251 Salcedo St., Legaspi Village",
    city:       "Makati City"
  }
}

Params

Param name Description
user
required

User Information

Validations:

  • Must be a Hash

user[first_name]
optional

First name; defaults to 'Guest'

Validations:

  • Must be a String

user[last_name]
optional

Last name; defaults to 'Customer'

Validations:

  • Must be a String

user[mobile]
optional

Mobile number

Validations:

  • Must be a String

user[address]
optional

Residential address

Validations:

  • Must be a String

user[city]
optional

City

Validations:

  • Must be a String

user[country]
optional

Country

Validations:

  • Must be a String

user[postal_code]
optional

Validations:

  • Must be a String

user[identification]
optional

Validations:

  • Must be a Hash

user[identification][url]
optional

URL string pointing to a static image of the user's passport, driver's license, or other government-issued ID. This is required for sending limits above PhP50,000.00 (Ex. http ://aws.amazon.com/image.jpg)

Validations:

  • Must be a String

user[proof_of_address]
optional

Validations:

  • Must be a Hash

user[proof_of_address][url]
optional

URL string pointing to a static image of the user's utility bill, bank statement, or other third-party-issued document with residential address prominently indicated. This is required for sending limits above PhP150,000.00 (Ex. http ://aws.amazon.com/image.jpg)

Validations:

  • Must be a String

user[birthday]
optional

Birthdate. This is required for sending limits above PhP150,000.00 (Ex. )

Validations:

  • Must be a String