Skip to content

Commit 48d2116

Browse files
remove unsupported provider
1 parent a99c8c5 commit 48d2116

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/doc/payments/payment-methods/qr-event/index.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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 @@
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,

src/doc/payments/payment-methods/qr/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const https = require('https')
22

33
const params = JSON.stringify({
4-
"amount": 100,
4+
"amount": 1000,
55
"email": "customer@email.com",
6-
"currency": "NGN",
6+
"currency": "ZAR",
77
"qr": {
8-
"provider" : "visa"
8+
"provider" : "scan-to-pay"
99
}
1010
})
1111

src/doc/payments/payment-methods/qr/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1010
CURLOPT_CUSTOMREQUEST => "POST",
1111
CURLOPT_POSTFIELDS => [
12-
"amount" => 100,
12+
"amount" => 1000,
1313
"email" => "customer@email.com",
14-
"currency" => "NGN",
14+
"currency" => "ZAR",
1515
"qr" => [
16-
"provider" => "visa"
16+
"provider" => "scan-to-pay"
1717
]
1818
],
1919
CURLOPT_HTTPHEADER => array(
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
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": "customer@email.com",
6-
"currency": "NGN",
6+
"currency": "ZAR",
77
"qr": {
8-
"provider" : "visa"
8+
"provider" : "scan-to-pay"
99
}
1010
}'
1111
-X POST

0 commit comments

Comments
 (0)