Skip to main content
Package: mangopay4-ruby-sdk

3.48.0 - Mar 30, 2026

3.48.0 - Mar 30, 2026

Breaking change
  • Payconiq PayIn removed following discontinuation

3.47.0 - Mar 23, 2026

Added

Support for mTLS authentication

To support mTLS authentication for SCA on platforms, which is required for platforms taking SCA-triggering action under proxy:
  • Added mtls_cert, mtls_key, mtls_key_passphrase to the apply_configuration method
  • Added ssl_options method which returns the existing ssl, timeout & retries config, but also appends mTLS configuration if needed
  • Updated the requests logic to add the mTLS certificate if present
  • Updated README.md file with details on how to configure mTLS for the SDK
Note: The SDK requires TLS 1.2+ for TLS compliance, even for non-mTLS connections, in line with Mangopay’s security guidelines.

3.46.0 - Feb 12, 2026

FX

Breaking change

Custom fees

To support percentage-based FX fees (API release note):
  • Updated tests to check for conversion custom fees and user margins

Echo

Breaking change

Settlement upload endpoints

To support the new behavior of the POST Create a Settlement endpoint to obtain an UploadUrl:
  • Updated settlement_sample.csv and tests
Caution - Breaking change
  • Replaced upload method in Settlement with generate_upload_url:
Ruby
MangoPay::Settlement.generate_upload_url({FileName: 'settlement_sample.csv'})
Caution - Breaking change
  • Replace update method in Settlement with: generate_new_upload_url
Ruby
 MangoPay::Settlement.generate_new_upload_url(@settlement['SettlementId'], {FileName: 'settlement_sample.csv'})

Added

GET validations for a Settlement endpoint

To support the GET View validations for a Settlement endpoint:
  • Added get_validationsmethod to Settlement
Ruby
MangoPay::Settlement.get_validations(@settlement['SettlementId'], {page: 1, per_page: 10})

PUT Cancel a Settlement endpoint

To support the PUT Cancel a Settlement endpoint:
  • Changes: added cancel method to Settlement
Ruby
MangoPay::Settlement.cancel(@settlement['SettlementId'])

POST Create an Intent Refund

To support POST Create an Intent Refund:
  • Added create method to Refund
Ruby
MangoPay::PayIn::PayInIntent::Refund.create(intent['Id'], dto)

POST Reverse an Intent Refund

To support POST Reverse an Intent Refund:
  • Added reverse method to Refund
Ruby
MangoPay::PayIn::PayInIntent::Refund.reverse(intent['Id'], intent['Refund']['Id'], dto)

POST Create an Intent Dispute

To support POST Create an Intent Dispute:
  • Added create method to Dispute
Ruby
MangoPay::PayIn::PayInIntent::Dispute.create(intent['Id'], intent['Capture']['Id'], dto)

PUT Update an Intent Dispute

To support PUT Update an Intent Dispute:
  • Added update_outcome method to Dispute
Ruby
MangoPay::PayIn::PayInIntent::Dispute.update_outcome(intent['Id'], intent['Capture']['Id'], intent['Dispute']['Id'], dto)

3.45.0 - Jan 30, 2025

Added

Support for new SCA status endpoint

The SDK now supports the new GET View the SCA status of a User endpoint. Added new method to lib/mangopay/user.rb:
Ruby
def get_sca_status(user_id, filters = {})
       MangoPay.request(:get, "#{MangoPay.api_path}/sca/users/#{user_id}/sca-status", {}, filters)
     end
Corresponding tests updated.

3.44.0 - Nov 28, 2025

Changed

  • Migrated to V4 naming convention

3.43.0 - Nov 19, 2025

Added

First batch of endpoints for direct acquiring solution (in private beta).

3.42.1 - Nov 6, 2025

Improved

  • Support for case variations in error handler

3.42.0 - Oct 27, 2025

Added

Changed

  • x-tenant-id deprecated as no longer necessary for UK platforms; the parameter is ignored by Mangopay

3.41.1 - Oct 10, 2025

Added

  • Configuration for after_request_proc to be able to check rate limits post-request

3.41.0 - Oct 1, 2025

Added

3.40.2 - Sep 2, 2025

Changed

  • OAuth token refresh buffer before expiry updated to 30s

Fixed

  • Tests #302

3.40.1 - Aug 14, 2025

Added

3.40.0 - Aug 7, 2025

Added

Support for new Splits endpoints for Echo (API release note): New ReportTypes for Echo (API release note):
  • ECHO_INTENT
  • ECHO_INTENT_ACTION
  • ECHO_SETTLEMENT
  • ECHO_SPLIT

3.39.1 - Jul 28, 2025

Added

3.39.0 - Jul 18, 2025

Added

Endpoints for Mangopay Echo, a solution for platforms working with another third-party PSP for funds acquisition (including via the Mirakl Connector):

3.38.0 - Jul 2, 2025

Added

  • New endpoint POST Create a Bizum PayIn
  • New webhook event types for SCA enrollment (API release note), note that these are triggered on enrollment not authentication:
    • SCA_ENROLLMENT_SUCCEEDED
    • SCA_ENROLLMENT_FAILED
    • SCA_ENROLLMENT_EXPIRED
  • New webhook event types for UserCategory change (API release note):
    • USER_CATEGORY_UPDATED_TO_OWNER
    • USER_CATEGORY_UPDATED_TO_PAYER
    • USER_CATEGORY_UPDATED_TO_PLATFORM
  • Support for PLATFORM value to UserCategory enum

3.37.0 - Jun 24, 2025

Changed

  • multi_json library version updated to 1.15.0 (latest, release 2020) to enable compatibility with later versions of Ruby
⚠️ Caution - Breaking change If you use version 1.7.7 (2013) of the multi_json gem in your project, you need to update to 1.15.0 to use this version v3.37.0 of the Mangopay Ruby SDK

3.36.0 - Jun 24, 2025

Added

New Reporting Service endpoints: Support for:

3.35.1 - Jun 5, 2025

Added

Fixed

  • Support for legacy Payconiq integration via MangoPay::PayIn::Payconiq::Web.create_legacy (removed in error).