Skip to content

Instantly share code, notes, and snippets.

View iykedapotential's full-sized avatar
🎯
Focusing

Ikedieze Onyeforo iykedapotential

🎯
Focusing
View GitHub Profile
@iykedapotential
iykedapotential / http-transfers-req
Created March 25, 2017 17:57
http-transfers-req
Sample request
{
"amount":"500",
"description":"transfer to access 0690000012",
"type": "transfer",
"transferType":"AA",
"bankcode":"044",
"creditacctno":"0690000012",
“transaction_id”: “PWCDEV-09882890” [unique for every request]
}
@iykedapotential
iykedapotential / http-interbank-req
Created March 25, 2017 17:54
http-interbank-req
Sample Request
{
"amount":"500",
"description":"transfer to access 0921318712",
"type": "transfer",
"transferType":"AO",
"bankcode":"058",
"creditacctno":"0921318712",
"transaction_id": "PWCDEV-09882890" [unique for every request]
}
@iykedapotential
iykedapotential / http-validate-acct-open
Created March 23, 2017 22:36
http-validate-acct-open
Endpoint: /user/validateAccountRequest
Method: POST
Content-Type: application/json
Parameters:
- otp
- trxref
@iykedapotential
iykedapotential / http-request-acct-opening
Last active March 25, 2017 23:50
http-request-acct-opening
Endpoint: /user/requestBankAccount
Method: POST
Content-Type: application/json
Parameters:
email
phonenumber [Optional: Only required when BVN is not supplied]
firstname [Optional: Only required when BVN is not supplied]
lastname [Optional: Only required when BVN is not supplied]
middlename [Optional: Only required when BVN is not supplied]
bvn [Optional]
@iykedapotential
iykedapotential / http-trans-query-request
Created March 22, 2017 15:43
http-trans-query-request
Sample Request
{
"transaction_id": "58d2786e1510c710000a381f"
}
@iykedapotential
iykedapotential / http-trans-query
Created March 22, 2017 15:41
http-trans-query
Endpoint: /orders/transactions
Method: GET
Paramter: transaction_id
@iykedapotential
iykedapotential / http-trans-query-response
Created March 22, 2017 15:38
http-trans-query-response
Sample Response
{
"status": "success",
"data": {
"order_id": "58d2786e1510c710000a381f",
"payment_id": "58d2786f1510c710000a3825",
"amount": 10,
"payment_ref": "24159398658",
"transaction_id": "24159398658",
"customer_firstname": "TSS ACCOUNT",
@iykedapotential
iykedapotential / http-account-validation-request
Created March 22, 2017 13:48
http-account-validation-request
Sample Request:
{
"bankcode": "044",
"accountnumber": "0690000032"
}
Endpoint: /account/validation
Method: POST
Content-Type: application/json
Sample Response:
{
"status": "success",
"data": {}
}