Request Details

Method Controller Resource Parameters
GET card lostcard id

Parameters Guide

Parameter Accepts
id Accepts Card_no (int) or Valid Email

Example Request Format

Direct Url https://api.beepxtra.com/card/lostcard/1
Curl CURL -A "YOURAPPNAME|1.0|AppID|AppKEY|card" -X GET https://api.beepxtra.com/card/lostcard/1
PHP SDK $beepapi->request('get', 'card', 'lostcard/1');

Sample Response

Success
{
  "success": true,
  "request": {
    "method": "GET",
    "controller": "card",
    "resource": "lostcard",
    "parameters": "/card/lostcard/1",
    "url_elements": [
      "card",
      "lostcard",
      "1"
    ]
  },
  "error": {
    "errorid": 0,
    "message": 0
  },
  "data": {
    "success": "Owner updated succesfully!",
    "card_number": "$virtual_Card_Number"
  }
}
Error
{
  "success": false,
  "request": {
    "method": "GET",
    "controller": "card",
    "resource": "lostcard",
    "parameters": "/card/lostcard/1",
    "url_elements": [
      "card",
      "lostcard",
      "to"
    ]
  },
  "error": {
    "message": "Card does not exist",
    "errorid": 204
  },
  "data": {
    "error": "Card does not exist",
    "errorid": 204,
    "errormsg": "Card does not exist"
  }
}

Response Guide

Parameter Type Details
error String Contains the error message returned
user_id bigint Global user id from database
cashback decimal(15,6) available cashback
commissions decimal(15,6) commissions earned
lock_cash_back decimal(15,6) Deprecated - Internal use only
last_update String Country name of card holder