Responses
200
200
The list of countries and their restrictions.
Show properties
Show properties
The country authorization object indicating if there are restrictions for a given country.
Show properties
Show properties
Format: Two-letter country code (ISO 3166-1 alpha-2 format)The code of the country.
Name of the country.
Information about the country’s restrictions.
Hide properties
Hide properties
Whether or not user creation is possible based on the user’s country of residence, address, and nationality.
Whether or not bank account creation is possible based on the bank’s country of domiciliation.
Whether or not payout creation is possible based on the bank’s country of domiciliation.
The date and time when at least one of the country’s authorizations has been last updated.
Copy
Ask AI
[
{
"CountryCode":"FI",
"CountryName":"Finland",
"Authorization":{
"BlockUserCreation":false,
"BlockBankAccountCreation":false,
"BlockPayout":false
},
"LastUpdate":1644574249
},
{
"CountryCode":"FR",
"CountryName":"France",
"Authorization":{
"BlockUserCreation":false,
"BlockBankAccountCreation":false,
"BlockPayout":false
},
"LastUpdate":1644574249
}
]
Copy
Ask AI
const mangopayInstance = require('mangopay2-nodejs-sdk')
const mangopay = new mangopayInstance({
clientId: 'your-client-id',
clientApiKey: 'your-api-key',
})
const listCountryAuthorizations = async () => {
return await mangopay.Regulatory.getAllCountriesAuthorizations()
.then((response) => {
console.info(response)
return response
})
.catch((err) => {
console.log(err)
return false
})
}
listCountryAuthorizations()