production
development
https://apigateway.bankalfalah.com/bankalfalah/sb
Paths
/v1
post /v1
clientIdHeader
X-IBM-Client-Id
(apiKey located in header)
clientSecretHeader
X-IBM-Client-Secret
(apiKey located in header)
OAuth
OAuth
(oauth2 application)
OAuth Authentication
Token URL
https://apigateway.bankalfalah.com/bankalfalah/sb/oauthproviderapi/oauth2/token
Scopes
GetToken
RequestBody
Required in body
object
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200
200 OK
500
Error
Example Request
Example Response
POST https://apigateway.bankalfalah.com/bankalfalah/sb/bafapi-wallet-customer-to-customer/v1
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"properties": {
"Transaction_Ref": {
"type": "string",
"description": "Transaction Reference",
"example": "200810144425265"
},
"Amount": {
"properties": [],
"type": "string",
"description": "Amount",
"example": "100"
},
"From_Account": {
"properties": [],
"type": "string",
"description": "From Account",
"example": "930203149661373"
},
"To_Account": {
"properties": [],
"type": "string",
"description": "To Account",
"example": "930203040112171"
},
"Channel": {
"properties": [],
"type": "string",
"description": "Channel",
"example": "fee_no_pin"
},
"Tran_Type": {
"properties": [],
"type": "string",
"description": "Transaction Type",
"example": "C2C"
},
"Channel_Mobile": {
"properties": [],
"type": "string",
"description": "Channel Mobile",
"example": "03149661373"
},
"Channel_Pin": {
"properties": [],
"type": "string",
"description": "Channel Pin",
"example": "5555"
},
"Feature": {
"properties": [],
"type": "string",
"description": "Feature",
"example": "alfawallettowalletrec"
},
"Consumer_Number": {
"properties": [],
"type": "string",
"description": "Consumer Number"
},
"Channel_Username": {
"properties": [],
"type": "string",
"description": "Channel Username"
},
"Stan": {
"properties": [],
"type": "string",
"description": "Stan",
"example": "200810144425265"
}
},
"additionalProperties": false,
"required": [
"Transaction_Ref",
"Amount",
"From_Account",
"To_Account",
"Channel",
"Tran_Type",
"Channel_Mobile",
"Channel_Pin",
"Feature",
"Consumer_Number",
"Channel_Username",
"Stan"
]
}
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"properties": {
"transactionType": {
"type": "string"
},
"feeAmount": {
"type": "string"
},
"walletId": {
"type": "string"
},
"availableAmount": {
"type": "string"
},
"transactionReference": {
"type": "string"
},
"mobileNumber": {
"type": "string"
},
"STAN": {
"type": "string"
},
"KEY_ACC_REF": {
"type": "string"
},
"taxAmount": {
"type": "string"
},
"principalAmount": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
}
},
"example": {
"code": "00",
"description": "SUCCESS",
"data": [
{
"transactionType": "DebitWallet",
"feeAmount": "0.00",
"walletId": "",
"availableAmount": "16368.00",
"transactionReference": "14935356",
"mobileNumber": "03149661373",
"STAN": "2008101444251234",
"KEY_ACC_REF": "0000025226440",
"taxAmount": "0.00",
"principalAmount": "0",
"username": ""
}
]
}
}
{
"type": "object",
"properties": {
"ResponseCode": {
"type": "string"
},
"ResponseDesc": {
"type": "string"
}
},
"example": {
"ResponseCode": "99",
"ResponseDesc": "Failed"
}
}