Payment Mode Frontend
Retrieves a list of configured payment modes for a given tenant with publicly available properties (excluding all secrets, signatures etc). The endpoint should be used by a frontend application to fetch all the possible payment methods configured for a particular tenant. No scope is required.
Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Payment modes configured in the payment-gateway service for a given tenant that returns only properties publicly available.
Indicates an autogenerated identifier of a given payment method.
Indicates a code of a given method.
Indicates a type of the mode integration.
The field is specific for the Spreedly integration. Example values: credit_card, sprel, paypal.
The field is specific for the Spreedly integration and it indicates a Spreedly environment used for the mode configuration.
The field is specific for the Spreedly integration. Strong Customer Authentication token.
The field is specific for the Tokenization integration.
The field is specific for the Unzer integration.
The field is specific for the Unzer integration.
The field is specific for the Saferpay integration.
Unauthorized
GET /payment-gateway/{tenant}/paymentmodes/frontend HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "92d77b2b-9385-43ad-a859-55176fbcbd2f",
"code": "credit_card",
"integrationType": "TOKENIZED",
"javascriptUrl": "https://core.spreedly.com/iframe/iframe-v1.min.js",
"paymentMethodType": "credit_card",
"environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
},
{
"id": "a8c96773-1cdf-4ea7-b1a2-1453d17f5374",
"code": "sprel",
"integrationType": "OFFSITE",
"paymentMethodType": "sprel",
"environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
},
{
"id": "ef48f439-1c3c-42ff-807d-ef4cac237745",
"code": "paypal",
"integrationType": "OFFSITE",
"paymentMethodType": "paypal",
"environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}
]Retrieves a single payment mode for a given tenant with publicly available properties (excluding all secrets, signatures etc). The endpoint should be used by a frontend application to fetch a payment method configuration for a particular tenant. No scope is required.
Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of a payment mode.
Payment modes configured in the payment-gateway service for a given tenant that returns only properties publicly available.
Indicates an autogenerated identifier of a given payment method.
Indicates a code of a given method.
Indicates a type of the mode integration.
The field is specific for the Spreedly integration. Example values: credit_card, sprel, paypal.
The field is specific for the Spreedly integration and it indicates a Spreedly environment used for the mode configuration.
The field is specific for the Spreedly integration. Strong Customer Authentication token.
The field is specific for the Tokenization integration.
The field is specific for the Unzer integration.
The field is specific for the Unzer integration.
The field is specific for the Saferpay integration.
Unauthorized
Not found. The resource does not exist.
GET /payment-gateway/{tenant}/paymentmodes/frontend/{id} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "92d77b2b-9385-43ad-a859-55176fbcbd2f",
"code": "credit_card",
"integrationType": "TOKENIZED",
"javascriptUrl": "https://core.spreedly.com/iframe/iframe-v1.min.js",
"paymentMethodType": "credit_card",
"environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
},
{
"id": "a8c96773-1cdf-4ea7-b1a2-1453d17f5374",
"code": "sprel",
"integrationType": "OFFSITE",
"paymentMethodType": "sprel",
"environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
},
{
"id": "ef48f439-1c3c-42ff-807d-ef4cac237745",
"code": "paypal",
"integrationType": "OFFSITE",
"paymentMethodType": "paypal",
"environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}
]Last updated
Was this helpful?

