Skip to content

Commit 3af15b4

Browse files
build changes
1 parent 48d2116 commit 3af15b4

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

dist/doc/payments/payment-methods/qr-event.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const json = `{
1111
"paid_at": "2018-12-05T15:58:45.000Z",
1212
"created_at": "2018-12-05T15:58:02.000Z",
1313
"channel": "qr",
14-
"currency": "NGN",
14+
"currency": "ZAR",
1515
"ip_address": "18.130.45.28, 141.101.107.157",
1616
"metadata": "",
1717
"log": null,
@@ -25,8 +25,8 @@ const json = `{
2525
"exp_year": "2018",
2626
"channel": "qr",
2727
"card_type": "DEBIT",
28-
"bank": "Visa QR",
29-
"country_code": "NG",
28+
"bank": "Nedbank QR",
29+
"country_code": "ZA",
3030
"brand": "VISA",
3131
"reusable": false,
3232
"signature": null,

dist/doc/payments/payment-methods/qr.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
const sh = `curl https://api.paystack.co/charge
22
-H "Authorization: Bearer YOUR_SECRET_KEY"
33
-H "Content-Type: application/json"
4-
-d '{ "amount": 100,
4+
-d '{ "amount": 1000,
55
"email": "[email protected]",
6-
"currency": "NGN",
6+
"currency": "ZAR",
77
"qr": {
8-
"provider" : "visa"
8+
"provider" : "scan-to-pay"
99
}
1010
}'
1111
-X POST`
1212

1313
const js = `const https = require('https')
1414
1515
const params = JSON.stringify({
16-
"amount": 100,
16+
"amount": 1000,
1717
"email": "[email protected]",
18-
"currency": "NGN",
18+
"currency": "ZAR",
1919
"qr": {
20-
"provider" : "visa"
20+
"provider" : "scan-to-pay"
2121
}
2222
})
2323
@@ -60,11 +60,11 @@ curl_setopt_array($curl, array(
6060
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
6161
CURLOPT_CUSTOMREQUEST => "POST",
6262
CURLOPT_POSTFIELDS => [
63-
"amount" => 100,
63+
"amount" => 1000,
6464
"email" => "[email protected]",
65-
"currency" => "NGN",
65+
"currency" => "ZAR",
6666
"qr" => [
67-
"provider" => "visa"
67+
"provider" => "scan-to-pay"
6868
]
6969
],
7070
CURLOPT_HTTPHEADER => array(

0 commit comments

Comments
 (0)