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