Documentations for API
| Name | Type | Values | Description |
|---|---|---|---|
| clientSecret | TEXT | Access-Token | Auth2.0 verification |
| Accept | JSON | application/json | application/json |
| Content-Type | JSON | application/json | application/json |
| clientId | TEXT | ************* | ************* |
| organizationId | TEXT | 223 | Authenticate organization |
| Name | Description | Required | Parameter Type | Length | Sample Value |
|---|
{
"InstantDebitCardReq": {
"MobileNumber": "030*******10",
"DateTime": "202424040406231",
"Rrn": "45613257417352",
"CardNumber": "5524 **** **** 0520",
"CardTitle": "Test MasterCard",
"CNIC": "35********16",
"DebitCardFee": false,
"Reserved1": "",
"Reserved2": "",
"Reserved3": "",
"Reserved4": "",
"Reserved5": "",
"Reserved6": "",
"Reserved7": "",
"Reserved8": "",
"Reserved9": "",
"Reserved10": ""
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"InstantDebitCardRes": {
"HashData": "41d02766b0f4245c2cb33b28511ff745332f95dd21c3e4dba7058a201c20147b",
"ResponseDateTime": "202424040406231",
"ResponseCode": "00",
"ResponseDescription": "Data Save SuccessFully.",
"Rrn": "45613257417352"
}
}
{
"InstantDebitCardRes": {
"HashData": "41d02766b0f4245c2cb33b28511ff745332f95dd21c3e4dba7058a201c20147b",
"ResponseDateTime": "202424040406231",
"ResponseCode": "00",
"ResponseDescription": "Data Save SuccessFully.",
"Rrn": "45613257417352"
}
}
{
"messages": "Bad Request - Invalid Access Token",
"errorcode": "4001"
}
{
"messages": "Bad Request - Invalid Request Payload",
"errorcode": "4002"
}
{
"messages": "Bad Request - Invalid Authorization Header",
"errorcode": "4003"
}
{
"messages": "Something Went Wrong",
"errorcode": "4004"
}
{
"messages": "Record Not Found",
"errorcode": "4005"
}
{
"messages": "Invalid Client Id\/Secret",
"errorcode": "4006"
}
{
"messages": "Bad Request - Invalid Access Token",
"errorcode": "4007"
}
| Name | Values | Description |
|---|---|---|
| Content-Type | application/json | Content Type application/json is supported |
| Accept | application/json | Content Type application/json is supported |
| organizationId | xyz | You will make a call to the auth-blb api and give it your client ID. You should add the client secret and organisation ID it returns here. |
| clientId | Enter your verified Client Id | |
| clientSecret | Enter Your Verified Client Secret |