const mangopayInstance = require('mangopay4-nodejs-sdk') const mangopay = new mangopayInstance({ clientId: 'your-client-id', clientApiKey: 'your-api-key', }) let myCountry = { code: 'FR' } const viewCountryAuthorizations = async (countryCode) => { return await mangopay.Regulatory.getCountryAuthorizations(countryCode) .then((response) => { console.info(response) return response }) .catch((err) => { console.log(err) return false }) } viewCountryAuthorizations(myCountry.code)
{ "CountryCode":"FR", "CountryName":"France", "Authorization":{ "BlockUserCreation":false, "BlockBankAccountCreation":false, "BlockPayout":false }, "LastUpdate":1463494366 }
Documentation IndexFetch the complete documentation index at: https://docs.mangopay.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
Use this file to discover all available pages before exploring further.
200
Hide properties
Was this page helpful?