@@ -5,9 +5,9 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
55content_type="Content-Type: application/json"
66data='{
778- "amount": "25000 ",
8+ "amount": "10000 ",
99 "bank_transfer": {
10- "account_expires_at": "2023-09-12T13:10:00Z "
10+ "account_expires_at": "2025-04-24T16:40:57.954Z "
1111 }
1212}'
1313
@@ -17,9 +17,9 @@ const js = `const https = require('https')
1717
1818const params = JSON.stringify({
191920- "amount": "25000 ",
20+ "amount": "10000 ",
2121 "bank_transfer": {
22- "account_expires_at": "2023-09-12T13:10:00Z "
22+ "account_expires_at": "2025-04-24T16:40:57.954Z "
2323 }
2424})
2525
@@ -66,7 +66,7 @@ const php = `<?php
66666767 "amount" => "10000",
6868 "bank_transfer" => [
69- "account_expires_at" => "2023-09-12T13:10:00Z "
69+ "account_expires_at" => "2025-04-24T16:40:57.954Z "
7070 ]
7171 ],
7272 CURLOPT_HTTPHEADER => array(
@@ -88,23 +88,21 @@ const php = `<?php
8888?>`
8989
9090const json = `{
91- "status": true,
92- "message": "Charge attempted",
93- "data": {
94- "status": "pending_bank_transfer",
95- "display_text": "Please make a transfer to the account specified",
96- "reference": "4tn28gwznc",
97- "amount": 20000,
98- "account_name": "PAYSTACK CHECKOUT",
99- "account_number": "1231084927",
100- "bank": {
101- "slug": "test-bank",
102- "name": "Test Bank",
103- "id": 24
104- },
105- "account_expires_at": "2023-09-12T13:10:55.000Z"
106- }
107- }
108- `
91+ "status": true,
92+ "message": "Charge attempted",
93+ "data": {
94+ "reference": "kcvu0t3kzs",
95+ "status": "pending_bank_transfer",
96+ "display_text": "Please make a transfer to the account specified",
97+ "account_name": "TEST-MANAGED-ACCOUNT",
98+ "account_number": "1260257501",
99+ "bank": {
100+ "slug": "test-bank",
101+ "name": "Test Bank",
102+ "id": 24
103+ },
104+ "account_expires_at": "2025-04-24T16:40:57.954Z"
105+ }
106+ }`
109107
110108export { sh , js , php , json }
0 commit comments