Releases: Mangopay/mangopay2-nodejs-sdk
1.57.0
Added
Endpoints for new Reporting Service feature:
Webhook event types for new Reporting Service:
REPORT_GENERATED
REPORT_FAILED
Support for GET List Disputes for a PayIn endpoint.
1.56.1
Added
- Support for
RecipientScope
query parameter on GET List Recipients for a User - POST Validate the format of User data
Fixed
Status
enum value on Identity Verification object changed fromOUTDATED
toOUT_OF_DATE
1.56.0
Added
Event types for user account webhooks, relevant to SCA enrollment in user endpoints and account closure:
USER_ACCOUNT_VALIDATION_ASKED
USER_ACCOUNT_ACTIVATED
USER_ACCOUNT_CLOSED
Event types for instant and quoted FX conversions:
INSTANT_CONVERSION_CREATED
INSTANT_CONVERSION_SUCCEEDED
INSTANT_CONVERSION_FAILED
QUOTED_CONVERSION_CREATED
QUOTED_CONVERSION_SUCCEEDED
QUOTED_CONVERSION_FAILED
Support for 30-day deposit preauthorization features:
- POST Create a Deposit Preauthorized PayIn prior to complement
- POST Create a Deposit Preauthorized PayIn complement
NO_SHOW_REQUESTED
onupdateDeposit
method for PUT Cancel a Deposit Preauthorization or request a no-show- GET View a PayIn (Deposit Preauthorized Card
- GET List Transactions for a Deposit Preauthorization
1.55.1
Fixed
- File naming issue on Recipients service (thanks for raising @JordhanMadec 🙏)
1.55.0
Added and refined
Hosted KYC/KYB endpoints
The following endpoints have been refined following the beta phase, and are now generally available:
- POST Create an IDV Session (no changes)
- GET View an IDV Session (includes
Checks
in response) - GET List IDV Sessions for a User (new endpoint)
The previously available endpoint GET View Checks for an IDV Session has been removed (as Checks were integrated into the GET by ID).
See the guide for more details.
Recipients
The Country
property has been added to Recipients, as a required query parameter on GET View the schema for a Recipient and as a required body parameter on POST Validate data for a Recipient and POST Create a Recipient.
Added
1.54.0
Added
SCA on wallet access endpoints
ScaContext
query parameter added on wallet access endpoints for the introduction of SCA:
- GET View a Wallet
- GET List Wallets for a User
- GET List Transactions for a User
- GET List Transactions for a Wallet
If SCA is required, Mangopay responds with a 401 response code. The PendingUserAction
RedirectUrl
is in the dedicated WWW-Authenticate
response header.
See the tests for examples on handling this error.
BLIK with code
Support for BLIK with code endpoint
1.53.1
1.53.0
Added
Recipients
- GET View payout methods
- GET View the schema for a Recipient
- POST Validate data for a Recipient
- POST Create a Recipient
- GET View a Recipient
- GET List Recipients for a user
- PUT Deactivate a Recipient
- Webhook event types:
RECIPIENT_ACTIVE
RECIPIENT_CANCELED
RECIPIENT_DEACTIVATED
SCA on Owner-initiated transfers
- On POST Create a Transfer
ScaContext
body parameterPendingUserAction
response field containingRedirectUrl
Endpoints to close a user account
1.52.0
Added
- POST Create a TWINT PayIn
RTGS_PAYMENT
forPayoutModeRequested
on POST Create a Payout- PayPal recurring payments, thanks to the
PaymentType
valuePAYPAL
on Recurring PayIn Registrations and new endpoints (POST Create a Recurring PayPal PayIn (CIT) and POST Create a Recurring PayPal PayIn (MIT)
Fixed
- Removed chai requirement from Users service - thanks for the MR @thierrymarianne
1.51.1
Changed
- User-Agent Header value standardized on format: User-Agent: Mangopay-SDK/
SDKVersion
(Language
/LanguageVersion
)
Fixed
- Fixed tests for categorize SCA users endpoint