GET /api/v1/vendors/:vendor_api_token
VENDORS: Show information about the current vendor. To receive your VENDOR API Token, please email admin@rebit.ph.

Retrieve Vendor Profile Information, including IDs of all users created

Supported Formats

json

Examples

https://rebit.ph/api/v1/vendors/7055c31ec3ab252381eab088176ec4b3849d95a642530a539ca2122aaf63572b
{
  "vendor": {
    "id": 1,
    "name": "Bit",
    "url": "http://www.example.com",
    "logo_url": "http://www.example.com/logo.jpg",
    "phone": "90000000",
    "email": "hello@example.com",
    "active": true,
    "user_ids": [
      1,
      2,
      3
    ]
  }
}

PUT /api/v1/vendors/:vendor_api_token
VENDORS: Update some of the attributes of the current Vendor, including Blockchain Wallet GUID and/or password

Update attributes of the current vendor. Changing the Blockchain wallet details will change the debited wallet whenever a new prepaid card is sold.

Supported Formats

json

Examples

https://rebit.ph/api/v1/vendors/7055c31ec3ab252381eab088176ec4b3849d95a642530a539ca2122aaf63572b
{
  "vendor": {
    "id": 1,
    "name": "Bit",
    "url": "http://www.example.com",
    "logo_url": "http://www.example.com/logo.jpg",
    "phone": "90000000",
    "email": "hello@example.com",
    "active": true,
    "user_ids": [
      1,
      2,
      3
    ]
  }
}