UNPKG

mangopay2-nodejs-sdk

Version:
71 lines (30 loc) 1.4 kB
# Global [MangoPay UBO Declaration API Reference](https://docs.mangopay.com/endpoints/v2.01/ubo-declarations) * * * ### create(userId, callback, options) Create a UBO declaration object from the API **Parameters** **userId**: `String`, user Unique identifier **callback**: `function`, Create a UBO declaration object from the API **options**: `Object`, Create a UBO declaration object from the API ### get(userId, id, callback, options) Retrieves a UBO declaration object from the API. **Parameters** **userId**: `String`, User Unique identifier **id**: `String`, Unique identifier **callback**: `function`, Retrieves a UBO declaration object from the API. **options**: `Object`, Retrieves a UBO declaration object from the API. ### getById(id, callback, options) Retrieves a UBO declaration object from the API. **Parameters** **id**: `String`, Unique identifier **callback**: `function`, Retrieves a UBO declaration object from the API. **options**: `Object`, Retrieves a UBO declaration object from the API. ### update(userId, uboDeclaration, callback, options) Updates a UBO declaration entity. **Parameters** **userId**: `String`, User Unique Identifier **uboDeclaration**: `Object`, Updated UBO declaration entity - must have ID! **callback**: `function`, Updates a UBO declaration entity. **options**: `Object`, Updates a UBO declaration entity. * * *