File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ npm install @paystack/paystack-sdk --save
1313
1414## Usage
1515Import and initialize the library:
16- ```
16+ ``` javascript
1717const Paystack = require (' @paystack/paystack-sdk' )
1818const paystack = new Paystack (" sk_test_xxxxxx" )
1919
@@ -23,7 +23,7 @@ paystack.transaction.initialize({email: "test@example.com", amount: 20000})
2323```
2424
2525Import and initialize the library using ES module with ` async/await ` :
26- ```
26+ ``` javascript
2727import Paystack from ' @paystack/paystack-sdk'
2828const paystack = new Paystack (" sk_test_xxxxxx" )
2929
@@ -42,7 +42,7 @@ initialize(email, amount)
4242```
4343
4444### Typescript
45- ```
45+ ``` typescript
4646import Paystack from ' @paystack/paystack-sdk' ;
4747const paystack = new Paystack (" sk_test_xxxxxx" );
4848
You can’t perform that action at this time.
0 commit comments