Skip to content

Commit 4104623

Browse files
Merge pull request #123 from PaystackOSS/feat-capitec-pay
chore: update authorizations
2 parents bebc140 + 2fe377b commit 4104623

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/api/capitec-pay/requery/requests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const sh = `#!/bin/sh
22
url="https://api.paystack.co/capitec-pay/requery/{ref}"
3-
authorization="Authorization: Bearer YOUR_SECRET_KEY"
3+
authorization="Authorization: Bearer pk_domain_xxxxx"
44
55
curl "$url" -H "$authorization" -X GET`
66

@@ -12,7 +12,7 @@ const options = {
1212
path: '/capitec-pay/requery/{ref}',
1313
method: 'GET',
1414
headers: {
15-
Authorization: 'Bearer SECRET_KEY'
15+
Authorization: 'Bearer pk_domain_xxxxx'
1616
}
1717
}
1818
@@ -42,7 +42,7 @@ const php = `<?php
4242
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
4343
CURLOPT_CUSTOMREQUEST => "GET",
4444
CURLOPT_HTTPHEADER => array(
45-
"Authorization: Bearer SECRET_KEY",
45+
"Authorization: Bearer pk_domain_xxxxx",
4646
"Cache-Control: no-cache",
4747
),
4848
));

src/api/capitec-pay/requery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const options = {
66
path: '/capitec-pay/requery/{ref}',
77
method: 'GET',
88
headers: {
9-
Authorization: 'Bearer SECRET_KEY'
9+
Authorization: 'Bearer pk_domain_xxxxx'
1010
}
1111
}
1212

src/api/capitec-pay/requery/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1111
CURLOPT_CUSTOMREQUEST => "GET",
1212
CURLOPT_HTTPHEADER => array(
13-
"Authorization: Bearer SECRET_KEY",
13+
"Authorization: Bearer pk_domain_xxxxx",
1414
"Cache-Control: no-cache",
1515
),
1616
));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
url="https://api.paystack.co/capitec-pay/requery/{ref}"
3-
authorization="Authorization: Bearer YOUR_SECRET_KEY"
3+
authorization="Authorization: Bearer pk_domain_xxxxx"
44

55
curl "$url" -H "$authorization" -X GET

0 commit comments

Comments
 (0)