What is merchant_defined

Hi,

In Checkout Page Object merchant_defined param are shown in like all examples - but it’s never explained.

metadata = new {
    merchant_defined = true
},

merchant_currency_only is explained is merchant_defined the same

Metadata objects are optional, and they exist in order to provide the merchant with additional information that they may want to add for their business practices. For example, a certain merchant may want to add the sales rep’s name that assisted with this payment while another merchant may want to add the number of days until the shipment will be processed. The documentation lists ‘merchant-defined’ in order to reiterate that this is optional information that the seller may want to provide in the API.

1 Like

Here’s a useful page from the API Reference:

https://docs.rapyd.net/build-with-rapyd/reference/metadata-object