The information below is designed to help you implement American Express Flexible Rewards. We have outlined the steps to give you a sense of what to expect. As always, we are here to help so feel free to contact us at any stage of the process.
The American Express Flexible Rewards provides an easy-to-use and secure way of integrating client-side functionality into your existing experience.
American Express Flexible Rewards has two environments. Each environment has its own URLs to integrate.
Please use below URL for QA:
BASE URL : https://blockrewardsv2-qaeusw1.americanexpress.com
Please use below URL for Production:
BASE URL : https://blockrewardsv2-euse1.americanexpress.com
The following table highlights the parameters involved.
| Parameter | Type | Required | Description |
|---|---|---|---|
| partner_id | string | Yes | This parameter is unique Merchant ID for API use provided by American Express.
e.g. M000000001 |
| context_id | string | Yes | Unique tracking ID, generated by the Merchant and will be treated by American Express as a pass-through parameter. It allows the Merchant to uniquely identify requests and responses. Note: Only alphanumeric characters are allowed.
e.g. 5menrq33qy7n7eprtedg1s |
| locale | string | No | Indicates the language that needs to be displayed,
e.g. en_US |
| country | string | No | Indicates the country (ISO ALPHA-2 Code) where the Merchant site is shown,
e.g. US |
Once the URL Constructed with required parameters, your page should look similar to the code below:
<html></script>
</body>Once response_data is returned, the Merchant can use unique identity identifier for the respective Card Member.
The response will appear in the URL as such:
Successfull Enrollment response_data will be as below:
{Not Eligible Enrollment response_data will be as below:
{Partner Not Found response_data will be as below:
{Failed response_data will be as below:
{Incompatible Browser response_data will be as below:
{The following table explains the response received:
| Parameter | Type | Description |
|---|---|---|
| contextId | string | Unique request tracking ID, which is generated by the Merchant and will be treated by American Express as a pass-through parameter. It may allow the Merchant to uniquely identify request and responses. |
| walletId | string | An internal American Express identifier that will be used to identify Card Member. e.g. zmnutzvznqdsvuswds7gj |
| error | object | This object will contain error code and message |
As a reminder, we offer 24/7 support during implementation. So please do not hesitate to contact us if you have any questions.
Mobile browsers for iOS and Android.