File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed
api/customers/initialize-authorization
doc/payments/direct-debit
api/customers/initialize-authorization
doc/payments/direct-debit/initialize Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
44content_type="Content-Type: application/json"
55data='{
66 "email": "ravi@demo.com",
7- "channels ": "direct_debit",
7+ "channel ": "direct_debit",
88 "callback_url": "http://test.url.com"
99}'
1010
@@ -14,7 +14,7 @@ const js = `const https = require('https')
1414
1515const params = JSON.stringify({
1616 "email": "mail@mail.com",
17- "channels ": "direct_debit",
17+ "channel ": "direct_debit",
1818 "callback_url": "http://test.url.com"
1919})
2020
@@ -51,7 +51,7 @@ const php = `<?php
5151
5252 $fields = [
5353 'email' => "mail@mail.com",
54- 'channels ' => "direct-debit",
54+ 'channel ' => "direct-debit",
5555 'callback_url' => "http://test.url.com"
5656 ];
5757
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ curl https://api.paystack.co/customer/authorization/initialize
44-H "Content-Type: application/json"
55-d '{
66 "email": "ravi@demo.com",
7- "channels ": "direct_debit",
7+ "channel ": "direct_debit",
88 "callback_url": "http://test.url.com"
99 }'
1010-X POST`
@@ -13,7 +13,7 @@ const js = `const https = require('https')
1313
1414const params = JSON.stringify({
1515 "email" : "mail@mail.com",
16- "channels ": "direct_debit",
16+ "channel ": "direct_debit",
1717 "callback_url": "http://test.url.com"
1818})
1919
@@ -50,7 +50,7 @@ const php = `<?php
5050
5151 $fields = [
5252 'email' => "mail@mail.com",
53- 'channels ' => "direct-debit",
53+ 'channel ' => "direct-debit",
5454 'callback_url' => "http://test.url.com"
5555 ];
5656
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const https = require('https')
22
33const params = JSON . stringify ( {
44 "email" : "mail@mail.com" ,
5- "channels " : "direct_debit" ,
5+ "channel " : "direct_debit" ,
66 "callback_url" : "http://test.url.com"
77} )
88
Original file line number Diff line number Diff line change 33
44 $ fields = [
55 'email ' => "mail@mail.com " ,
6- 'channels ' => "direct-debit " ,
6+ 'channel ' => "direct-debit " ,
77 'callback_url ' => "http://test.url.com "
88 ];
99
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
44content_type=" Content-Type: application/json"
55data=' {
66 "email": "ravi@demo.com",
7- "channels ": "direct_debit",
7+ "channel ": "direct_debit",
88 "callback_url": "http://test.url.com"
99}'
1010
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const https = require('https')
22
33const params = JSON . stringify ( {
44 "email" : "mail@mail.com" ,
5- "channels " : "direct_debit" ,
5+ "channel " : "direct_debit" ,
66 "callback_url" : "http://test.url.com"
77} )
88
Original file line number Diff line number Diff line change 33
44 $ fields = [
55 'email ' => "mail@mail.com " ,
6- 'channels ' => "direct-debit " ,
6+ 'channel ' => "direct-debit " ,
77 'callback_url ' => "http://test.url.com "
88 ];
99
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ curl https://api.paystack.co/customer/authorization/initialize
44-H " Content-Type: application/json"
55-d ' {
66 "email": "ravi@demo.com",
7- "channels ": "direct_debit",
7+ "channel ": "direct_debit",
88 "callback_url": "http://test.url.com"
99 }'
1010-X POST
You can’t perform that action at this time.
0 commit comments