Update user profile information. Note that a user's email address is not editable. When changing a user's password, use the /users/:id/update_password call.

Supported Formats

json

Errors

Code Description
404 We couldn't find that user

Examples

{
  "user": {
    "id": 1,
    "first_name": "Juan",
    "last_name": "dela Cruz",
    "email": "juan@example.com",
    "birthday": null,
    "mobile": null,
    "wallet_address": null,
    "institutional": false,
    "address": null,
    "city": null,
    "country": null,
    "postal_code": null,
    "maximum_sends_per_day": 10,
    "mobile_confirmed": true,
    "kyc_level": 0,
    "identification": {
      "url": null,
      "thumb": {
        "url": null
      }
    },
    "identification_confirmed": false,
    "proof_of_address": {
      "url": null,
      "thumb": {
        "url": null
      }
    },
    "proof_of_address_confirmed": false,
    "recipient_ids": [
      1,
      2,
      3
    ],
    "remittance_ids": [
      1,
      2
    ],
    "total_remittances_today": 1000,
    "vendor_uploaded_identification": null,
    "vendor_uploaded_proof_of_address": null
  }
}

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[email]
optional

Email

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. )

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. )

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