Skip to content

Commit 1a9b9d4

Browse files
Chore: Kuda test details
1 parent 6b86225 commit 1a9b9d4

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

dist/doc/payments/direct-debit/authorization-status/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const authorization_created = `{
3636
"message": "Authorization retrieved successfully",
3737
"data": {
3838
"authorization_code": "AUTH_JV4T9Wawdj",
39-
"active": true,
39+
"active": false,
4040
"last4": "1234",
4141
"channel": "direct_debit",
4242
"card_type": "mandate",

dist/doc/payments/payment-methods/bank-1.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const sh = `curl https://api.paystack.co/charge
44
-d '{ "email": "customer@email.com",
55
"amount": "10000",
66
"bank": {
7-
"code": "057",
8-
"phone": "+23481234567890",
7+
"code": "50211",
8+
"phone": "+2348100000000",
99
"token": "123456"
1010
}
1111
}'
@@ -14,12 +14,12 @@ const sh = `curl https://api.paystack.co/charge
1414

1515
const js = `const https = require('https')
1616
17-
const params = JSON.stringify({
18-
"email": "customer@email.com",
17+
const params = JSON.stringify({
18+
"email": "customer@email.com",
1919
"amount": "10000",
2020
"bank": {
21-
"code": "057",
22-
"phone": "+23481234567890",
21+
"code": "50211",
22+
"phone": "+2348100000000",
2323
"token": "123456"
2424
}
2525
})
@@ -67,8 +67,8 @@ const php = `<?php
6767
"email" => "customer@email.com",
6868
"amount" => "10000",
6969
"bank" => [
70-
"code" => "057",
71-
"phone" => "+23481234567890",
70+
"code" => "50211",
71+
"phone" => "+2348100000000",
7272
"token" => "123456"
7373
]
7474
],

src/doc/payments/direct-debit/authorization-status/events/authorization-created.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"message": "Authorization retrieved successfully",
55
"data": {
66
"authorization_code": "AUTH_JV4T9Wawdj",
7-
"active": true,
7+
"active": false,
88
"last4": "1234",
99
"channel": "direct_debit",
1010
"card_type": "mandate",

src/doc/payments/payment-methods/bank-1/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const https = require('https')
22

3-
const params = JSON.stringify({
4-
"email": "customer@email.com",
3+
const params = JSON.stringify({
4+
"email": "customer@email.com",
55
"amount": "10000",
66
"bank": {
7-
"code": "057",
8-
"phone": "+23481234567890",
7+
"code": "50211",
8+
"phone": "+2348100000000",
99
"token": "123456"
1010
}
1111
})

src/doc/payments/payment-methods/bank-1/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"email" => "customer@email.com",
1414
"amount" => "10000",
1515
"bank" => [
16-
"code" => "057",
17-
"phone" => "+23481234567890",
16+
"code" => "50211",
17+
"phone" => "+2348100000000",
1818
"token" => "123456"
1919
]
2020
],

src/doc/payments/payment-methods/bank-1/index.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ curl https://api.paystack.co/charge
44
-d '{ "email": "customer@email.com",
55
"amount": "10000",
66
"bank": {
7-
"code": "057",
8-
"phone": "+23481234567890",
7+
"code": "50211",
8+
"phone": "+2348100000000",
99
"token": "123456"
1010
}
1111
}'

0 commit comments

Comments
 (0)