File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
dist/api/capitec-pay/requery
src/api/capitec-pay/requery Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11const sh = `#!/bin/sh
22url="https://api.paystack.co/capitec-pay/requery/{ref}"
3- authorization="Authorization: Bearer YOUR_SECRET_KEY "
3+ authorization="Authorization: Bearer pk_domain_xxxxx "
44
55curl "$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 ));
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 ));
Original file line number Diff line number Diff line change 11#! /bin/sh
22url=" https://api.paystack.co/capitec-pay/requery/{ref}"
3- authorization=" Authorization: Bearer YOUR_SECRET_KEY "
3+ authorization=" Authorization: Bearer pk_domain_xxxxx "
44
55curl " $url " -H " $authorization " -X GET
You can’t perform that action at this time.
0 commit comments