Introduction!

Visit our payments page

Code snippet one

1 curl -v -X POST https://api.sandbox.paypal.com/v2/invoicing/generate-next-invoice-number \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer Access-Token"
1 const https = require('https');
2 const options = {
3 hostname: 'api.paystack.co',
4 path: '/transaction/verify/:reference',
5 method: 'GET',
6 headers: {
7 Authorization: 'Bearer SECRET_KEY'
8 }
9 };
1 $stripe = new StripeStripeClient('sk_test_BQokikJOvBiI2HlWgH4olfQ2');
2 $customer = $stripe->customers->create([
3 'description' => 'example customer',
4 'email' => 'email@example.com',
5 'payment_method' => 'pm_card_visa',
6 ]);
7 echo $customer;

The default language is: curl

Code snippet two

1 curl -v -X POST https://api.sandbox.paypal.com/v2/invoicing/generate-next-invoice-number \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer Access-Token"
1 const https = require('https');
2 const options = {
3 hostname: 'api.paystack.co',
4 path: '/transaction/verify/:reference',
5 method: 'GET',
6 headers: {
7 Authorization: 'Bearer SECRET_KEY'
8 }
9 };
1 $stripe = new StripeStripeClient('sk_test_BQokikJOvBiI2HlWgH4olfQ2');
2 $customer = $stripe->customers->create([
3 'description' => 'example customer',
4 'email' => 'email@example.com',
5 'payment_method' => 'pm_card_visa',
6 ]);
7 echo $customer;