@@ -2,7 +2,7 @@ const sh = `curl https://api.paystack.co/dedicated_account
22-H "Authorization: Bearer YOUR_SECRET_KEY"
33-H "Content-Type: application/json"
44-d '{ "customer": 481193,
5- "preferred_bank":"wema -bank",
5+ "preferred_bank":"test -bank",
66 "subaccount": "SUB_ACCOUNTCODE"
77 }'
88-X POST`
@@ -39,7 +39,7 @@ let req = https.request(options, function (res) {
3939
4040let postData = JSON.stringify({
4141 "customer":481193,
42- "preferred_bank":"wema -bank",
42+ "preferred_bank":"test -bank",
4343 "subaccount":"SUB_ACCOUNTCODE"
4444});
4545
@@ -60,7 +60,7 @@ curl_setopt_array($curl, array(
6060 CURLOPT_FOLLOWLOCATION => true,
6161 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
6262 CURLOPT_CUSTOMREQUEST => "POST",
63- CURLOPT_POSTFIELDS =>"{\"customer\":481193,\"preferred_bank\":\"wema -bank\", \"subaccount\": \"SUB_ACCOUNTCODE\"}",
63+ CURLOPT_POSTFIELDS =>"{\"customer\":481193,\"preferred_bank\":\"test -bank\", \"subaccount\": \"SUB_ACCOUNTCODE\"}",
6464 CURLOPT_HTTPHEADER => array(
6565 "authorization: Bearer SECRET_KEY",
6666 "content-type: application/json",
@@ -78,9 +78,9 @@ const json = `{
7878 "message": "Assigned Managed Account Successfully Created",
7979 "data": {
8080 "bank": {
81- "name": "Wema Bank",
82- "id": 20 ,
83- "slug": "wema -bank"
81+ "name": "Test Bank",
82+ "id": 24 ,
83+ "slug": "test -bank"
8484 },
8585 "account_name": "KAROKART/YINKA ADE",
8686 "account_number": "6731105168",
0 commit comments