Mangopay / mangopay2-php-sdk

PHP SDK for MANGOPAY
https://packagist.org/packages/mangopay/php-sdk-v2
MIT License
122 stars 133 forks source link

Missing method/endpoint for getting UBO declaration #361

Closed jns-dev closed 4 years ago

jns-dev commented 4 years ago
  1. Missing method/endpoint for getting UBO declaration only with UBO declaration Id (without User Id) -> GET: .../ClientId/kyc/ubodeclarations/UboDeclarationId. There aren't any method that give the functionality to execute this endpoint. I found that in the \MangoPay\Libraries\ApiBase.php file no endpoint for this action.

  2. Missing user id in UBO Declaration

mickaelpois commented 4 years ago

Release 2.13.0

jns-dev commented 3 years ago

Thank you for adding the missing endpoint, but why in the ApiBase.php exists 2 equal endpoints to get ubo declaration (ver. 3.1) ??? line 189 and line 193 'ubo_declaration_get_by_id' => ......