Create a new user account under this Vendor account. This returns a 8-character randomly-generated password that you may pass on to your user or store for later use. (The password is not required in order to send remittances.)

Take note of the ID parameter in the returned User hash, it is how you will access this same user later on.

Supported Formats

json

Examples

https://rebit.ph/api/v1/vendors/ZBK3rKuzfsyaQt9spJmEu4Vw7_sqbyzT/users
{
  "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
  },
  "password": "yourpassword",
  "api_token": "AAAAAAAAAA-t_-DCsC-sssss-xxxxx"
}

Params

Param name Description
user
required

User Information

Validations:

  • Must be a Hash

user[first_name]
required

First name; defaults to 'Guest'

Validations:

  • Must be a String

user[last_name]
required

Last name; defaults to 'Customer'

Validations:

  • Must be a String

user[email]
required

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.

Validations:

  • Must be a String