ペイペイはこちら

use strict';
const PAYPAY = require('@paypayopa/paypayopa-sdk-node');
PAYPAY.Configure({
clientId: API_KEY,
clientSecret: API_SECRET,
merchantId: MERCHANT_ID,
/* production_mode : Set the connection destination of the sandbox environment / production environment.
The default false setting connects to the sandbox environment. The True setting connects to the production environment. */
productionMode: false,
});

use PayPay\OpenPaymentAPI\Client;

$client = new Client([
'API_KEY' => 'YOUR_API_KEY',
'API_SECRET'=>'YOUR_API_SECRET',
'MERCHANT_ID'=>'YOUR_MERCHANT_ID'
],false); /* production_mode : Set the connection destination of the sandbox environment / production environment.
The default false setting connects to the sandbox environment. The True setting connects to the production environment. */