From 2fe377b65be1ba54b2f0eff230eb3b9040809d8b Mon Sep 17 00:00:00 2001 From: Damilola Odujoko Date: Fri, 20 Feb 2026 16:26:36 +0100 Subject: [PATCH] chore: update authorizations --- dist/api/capitec-pay/requery/requests.js | 6 +++--- src/api/capitec-pay/requery/index.js | 2 +- src/api/capitec-pay/requery/index.php | 2 +- src/api/capitec-pay/requery/index.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/api/capitec-pay/requery/requests.js b/dist/api/capitec-pay/requery/requests.js index 6139c5e..c91529d 100644 --- a/dist/api/capitec-pay/requery/requests.js +++ b/dist/api/capitec-pay/requery/requests.js @@ -1,6 +1,6 @@ const sh = `#!/bin/sh url="https://api.paystack.co/capitec-pay/requery/{ref}" -authorization="Authorization: Bearer YOUR_SECRET_KEY" +authorization="Authorization: Bearer pk_domain_xxxxx" curl "$url" -H "$authorization" -X GET` @@ -12,7 +12,7 @@ const options = { path: '/capitec-pay/requery/{ref}', method: 'GET', headers: { - Authorization: 'Bearer SECRET_KEY' + Authorization: 'Bearer pk_domain_xxxxx' } } @@ -42,7 +42,7 @@ const php = ` CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( - "Authorization: Bearer SECRET_KEY", + "Authorization: Bearer pk_domain_xxxxx", "Cache-Control: no-cache", ), )); diff --git a/src/api/capitec-pay/requery/index.js b/src/api/capitec-pay/requery/index.js index f03b6b1..a9d4d40 100644 --- a/src/api/capitec-pay/requery/index.js +++ b/src/api/capitec-pay/requery/index.js @@ -6,7 +6,7 @@ const options = { path: '/capitec-pay/requery/{ref}', method: 'GET', headers: { - Authorization: 'Bearer SECRET_KEY' + Authorization: 'Bearer pk_domain_xxxxx' } } diff --git a/src/api/capitec-pay/requery/index.php b/src/api/capitec-pay/requery/index.php index 3ec5761..a350b5a 100644 --- a/src/api/capitec-pay/requery/index.php +++ b/src/api/capitec-pay/requery/index.php @@ -10,7 +10,7 @@ CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( - "Authorization: Bearer SECRET_KEY", + "Authorization: Bearer pk_domain_xxxxx", "Cache-Control: no-cache", ), )); diff --git a/src/api/capitec-pay/requery/index.sh b/src/api/capitec-pay/requery/index.sh index 413bcdf..d4b0069 100644 --- a/src/api/capitec-pay/requery/index.sh +++ b/src/api/capitec-pay/requery/index.sh @@ -1,5 +1,5 @@ #!/bin/sh url="https://api.paystack.co/capitec-pay/requery/{ref}" -authorization="Authorization: Bearer YOUR_SECRET_KEY" +authorization="Authorization: Bearer pk_domain_xxxxx" curl "$url" -H "$authorization" -X GET \ No newline at end of file