Retrieve the installation settings
This endpoint allows you to retrieve the settings and configuration for a specific installation (e.g. your iOS app, Android app, website, or terminal). The settings contain important information like the supported payment methods and UI customization options.
merchant_id
string
Required. Your merchant ID that uniquely identifies your account.
installation_id
string
Required. The installation ID for this platform (e.g. your iOS app, Android app, website, or terminal).
| Attribute | Description |
|---|---|
installation_idstring
|
Always present. The ID of the installation. |
namestring
|
Always present. The name of the installation. |
platformstring
|
Always present. The platform type of the installation (e.g.,
|
identifierstring
|
Always present. The unique identifier for the installation on the platform. |
payment_methodsarray<object.payment_method>
|
Always present. List of payment methods supported by this installation. |
email_capturestring
|
Always present. Email capture configuration for this installation. 'disabled' means no email collection, 'optional' means email is collected if provided by customer, 'required' means email is mandatory for all customers. Possible values:
|
mobile_capturestring
|
Always present. Mobile phone capture configuration for this installation. 'disabled' means no mobile number collection, 'optional' means mobile number is collected if provided by customer, 'required' means mobile number is mandatory for all customers. Possible values:
|
address_capturestring
|
Always present. Billing-address capture configuration for this installation. 'disabled' means no address collection, 'optional' means address fields are shown but optional, 'required' means the fields listed in each payment method's
|
merchant_namestring
|
Always present. The name of the merchant that owns this installation. |
interest_bearerstring
|
Nullable. The merchant's default for who bears installment interest. When
|
primary_colorstring
|
Always present. Primary color used for buttons and main elements (hex format). |
secondary_colorstring
|
Always present. Secondary color used for backgrounds and accents (hex format). |
sidebar_colorstring
|
Always present. Background color for the sidebar (hex format). |
sidebar_background_typestring
|
Always present. The type of sidebar background to use (color or image). Possible values:
|
tile_sidebar_imageboolean
|
Always present. Whether to tile the sidebar image to fill the entire sidebar area. |
hide_logoboolean
|
Always present. Whether to hide the logo completely from the payment interface. |
heading_font_familystring
|
Always present. Font family for headings. |
heading_font_variantstring
|
Always present. Font weight variant for headings. Possible values:
|
body_font_familystring
|
Always present. Font family for body text. |
body_font_variantstring
|
Always present. Font weight variant for body text. Possible values:
|
use_iso_codeboolean
|
Always present. Whether to use ISO currency codes instead of currency symbols. |
hide_non_significant_zerosboolean
|
Always present. Whether to hide decimal places when they are zero. |
show_amount_in_buttonboolean
|
Always present. Whether to display the payment amount in the button text. |
symbol_placementstring
|
Always present. Where to place the currency symbol relative to the amount. Possible values:
|
default_button_textstring
|
Always present. Default text displayed on payment buttons. |
button_shapestring
|
Always present. Border radius style for buttons. Possible values:
|
light_logo_urlstring
|
Nullable. URL for the light logo (for light backgrounds). |
dark_logo_urlstring
|
Nullable. URL for the dark logo (for dark backgrounds). |
sidebar_image_urlstring
|
Nullable. URL for the sidebar background image. |
| Attribute | Description |
|---|---|
namestring
|
Always present. The name of the payment method. |
display_namestring
|
Always present. The display name of the payment method. |
flowstring
|
Always present. the flow of the payment method. |
categorystring
|
Always present. The category of the payment method. |
requires_addressboolean
|
Always present. Whether this payment method collects the cardholder's billing address. Already accounts for the installation's |
required_fieldsarray<string>
|
Always present. Address fields that are mandatory for this payment method when the installation's |
banksarray<object.bank>
|
Always present. The banks offering installment plans for this payment method. Always empty for payment methods that are not installments. |
| Attribute | Description |
|---|---|
namestring
|
Always present. The name of the bank offering the installment plans. |
display_namestring
|
Always present. The display name of the bank |
NOT_FOUND
This error occurs when we cannot find the merchant account or installation with the IDs provided. Double check that you are using the correct IDs.
UNHANDLED_ERROR
This error occurs when the server encounters an unexpected internal error that it cannot handle gracefully. This typically happens due to bugs, infrastructure issues, or edge cases that weren't anticipated during development.
INVALID_ARGUMENTS
This error occurs when the request contains invalid or missing parameters. Common cases include missing required fields, or values that don't match the expected format or type.
BAD_VERSION
This error occurs when making requests to an API version that is either deprecated or not yet released. This commonly happens when using an outdated SDK or when the API version specified in the request URL is incorrect.
curl "https://api.reservepay.com/sdk/retrieve-installation-settings" \
-X POST
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"merchant_id": "123456789012",
"installation_id": "ins_xhBi6ypq9G"
}'
