🔗Added endpoints for retrieving and checking cards exist on offers with activation🗂

We've added two new endpoints to our Offers API for retrieving and checking cards exist on offers with activation:

  • /v1/offers/{offerId}/cards/ - Get a list of cards associated with an offer with activation. You can read more about it in the API Reference.
curl -X GET \
  https://api.fidel.uk/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards \
  -H 'Content-Type: application/json' \
  -H 'Fidel-Key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63'
  • /v1/offers/{offerId}/cards/{cardId} - Check if a specific card is associated with an offer with activation. You can read more about it in the API Reference.
curl -X GET \
  https://api.fidel.uk/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/aef3e34e-725f-470a-899a-740ebe4aae5e \
  -H 'content-type: application/json' \
  -H 'fidel-key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63'

📱We've updated our Mobile SDKs to support l10n & i18n 🗺

Our Android, iOS and React Native SDKs all got updated to support:

  • localization for French and Swedish.
  • Terms and Conditions update according to the card scheme name (Visa, MasterCard, or Amex).
  • options for programName and termsConditionsUrl. They are mandatory when country is USA or Canada.
  • internationalized Terms and Conditions for the USA, Canada, and the rest of the world.

USA & Canada New T&C: By submitting your card information and checking this box, you authorize {cardScheme} to monitor and share transaction data with Fidel (our service provider) to participate in the {programName} programme. You also acknowledge and agree that Fidel may share certain details of your qualifying transactions with {companyName} to enable your participation in the {programName} programme and for other purposes in accordance with the {companyName} Terms and Conditions, {companyName} privacy policy and Fidel’s Privacy Policy. You may opt-out of transaction monitoring on the linked card at any time by contacting support.

Rest of the World T&C: I authorise {cardScheme} to monitor my payment card to identify transactions that qualify for a reward and for {cardScheme} to share such information with {companyName}, to enable my card-linked offers and target offers that may be of interest to me. For information about {companyName} privacy practices, please see the privacy policy. You may opt-out of transaction monitoring on the payment card you entered at any time by contacting support.

📢 We’ve added a new webhook event, for refunded transactions 💸

A transaction.refund or refund transaction event is triggered when a transaction is refunded. A refunded transaction also triggers a cleared event, with the auth property set to false. The amount on both events is negative.

The Fidel API tries to identify the initial transaction for which the refund was issued, using cardId, locationId, merchantId, amount and datetime. If we can identify an associated initial transaction, the webhook data contains the originalTransactionId. If we can’t identify the initial transaction, the data comes in on both webhooks with a negative amount but no originalTransactionId property.

You can use the Fidel Dashboard or the Webhooks API to register your webhook URL with the new transaction.refund event.

curl -X POST \
  https://api.fidel.uk/v1/programs/06471dbe-a3c7-429e-8a18-16dc97e5cf35/hooks \
  -H 'content-type: application/json' \
  -H 'fidel-key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63' \
  -d '{
    "event": "transaction.refund",
    "url": "https://example.com/refund-webhook"
  }'

Screenshot 2020-07-13 at 12.01.19.png

To read more about the new transaction.refund webhook event, visit our documentation!

Transactions in test environment can now be cleared

When completing a credit card transaction, there are two steps: authorisation and clearing.

  1. Authorisation is the step at purchase where the bank confirms that the purchase can be made.

  2. Clearing is the step 24-72 hours later where the money is actually debited and transferred to the merchant's account.

In the Fidel test environment, all transactions are automatically authorised, and appear in the transactions table of the dashboard. You can now manually "clear" the transaction, to mimic the process where the bank completes the transaction:

Screenshot 2020-06-16 at 15.38.24.png

Once you confirm the transaction clearing, it will appears as cleared:

Screenshot 2020-06-16 at 15.39.44.png

And the transaction.clearing webhook will fire, allowing you to test transaction clearing before going to production.

Refund Transaction Matching

Fidel now offers refund transaction matching. If a transaction refund is made at the same location for the same amount as the original transaction, Fidel will match the two transactions.

The original transaction will gain a new field refundTransactionId that points to the refund transaction.

The refund transaction will point to the original transaction with the originalTransactionId field.

Read more here: https://fidel.uk/docs/transactions/#refund-transactions

Custom Headers in Webhooks

You can now add custom headers to your Fidel Webhooks.

You'll see it as a new UI option on our dashboard:

Screenshot 2020-06-08 at 10.36.42.png

We describe the header use in our docs: https://fidel.uk/docs/webhooks

Read how to implement in our API as well! https://reference.fidel.uk/reference#create-webhook-brand

Merchant location onboarding improvement

When you add a location to your card linking program, Fidel must perform a "Location Sync" that validates the location with the card networks before transactions can be accepted. In the past, this process has taken 7-10 business days.

We have completely refactored the merchant location onboarding process. Since this refactor, we are seeing greatly reduced location onboarding times. You can now expect your location onboarding with the card network to take 3-4 business days.

Offers API now available in test environment

offers-api-test.png

The Offers API allows you to create online or in-store offers using card-linked technology. Create and manage all of your offers in one place, while personalising them by brand, discount type and amount, days of the week, duration, etc.

Previously the Offers platform was only available for live accounts, but is now available in test environment. You can create test offers with multiple combinations and try offer qualification using the playground to create sample transactions.

Login to the Fidel Dashboard and head to the 'CLO' tab to begin seeing what offers you can build.

You can find documentation at https://fidel.uk/docs/offers/ and the API Reference at https://reference.fidel.uk/reference#create-offer.

If you have any questions, please let us know in the community and we’ll follow up!

Onboard locations with MID

Onboarding locations just got faster. ⚡️

You can now add merchant IDs (MID) when creating locations. Creating locations with MID makes identifying merchant locations more accurate and faster to onboard.

We initially support Mastercard and Visa MIDs. Amex MIDs coming soon.

You can create locations with MIDs on the Fidel Dashboard:

create-location-with-mid.png

You can also submit MIDs by using the new searchBy object in the Create Location API endpoint.

curl -X POST \
  https://api.fidel.uk/v1/programs/{programId}/locations \
  -H 'content-type: application/json' \
  -H 'fidel-key: sk_your_secret_key' \
  -d '{
    "address": "43 Frith Street", 
    "brandId": "838d648e-5614-48a7-8e8b-6b3014638c67", 
    "city": "London", 
    "countryCode": "GBR",
    "postcode": "W1V 5TE",
    "searchBy": {
       "merchantIds": {
          "visa": ["12345678","987654321"],
          "mastercard": ["12345678","987654321"]
       }
    }
}'

You can see the Create Location API Reference here: https://reference.fidel.uk/reference#create-location

If you have any questions, please let us know in the community and we’ll follow up!

iOS SDK v.1.6.1

We have two fixes in one for you today! 🎁

  • iOS SDK can now be used with Xcode 11.2.1 (with Swift 5.1.2).
  • From now on, we don’t accidentally clear metaData between submissions.

If you run into any issues, please let us know in the community and we’ll get right to it!