Test Scenarios

The following scenarios are examples of the use cases we'll run through during your live test session. This is not an exhaustive list, as our certification process will also include negative tests to validate the error handling of your API integration.

Our technical team will monitor your API responses closely to ensure that all parameters are correctly returned and populated for downstream reporting and reconciliation purposes.

Gift Card Catalogue

Get Categories & Get Category by Id

  • When you call the Get Categories API
  • Then you should be able to validate that all returned categories include the following parameters: categoryId, name, and description.

  • When you call the Get Category by Id API
  • Then the response should return an HTTP status of 200 Success and validate the parameters for the requested category.
ParameterValue
http status code200 success
categoryIdUnique identifier of the Category
nameName of the Category
descriptionDescription of the Category

Get Programs & Get Programs by Id

  • When you call the Get Programs API
  • Then you should be able to validate that the response returns all programs you are eligible for, including the programId, name, descriptions, and designs.

  • When you call the Get Programs by Id API
  • Then the response should return an HTTP status of 200 Success and validate the parameters for the specific program requested.
ParameterValue
http status code 200 success
programIdUnique Identifier of the Program
nameName of the Program
descriptionsRange of descriptions available for the Program
designsHero design assets for the Program

Get Products & Get Products by Id

  • When you call the Get Products API
  • Then you should be able to validate that the response returns a list of all products you are eligible for, including productId, programId, name, designs, validityInYears, termsAndConditions, redemptionInfo, and denomination.
  • When you call the Get Products by Id API
  • Then the response should return an HTTP status of 200 Success and validate the parameters for the specific product requested.
ParameterValue
http status code200 success
productIdUnique Identifier of the Product
descriptionsRange of descriptions available for the Product
programIdProgram Identifier the Product belongs to
nameName of the Product
designsRange of design assets available for the Product
validityInYearsThe number of years the Product is redeemable for where expiry applies
termsAndConditionsTerms and conditions associated with the ProductorderId
redemptionInfoRedemption information for the Product,
denominationDenomination information for the Product, e.g. type of denomination and range

Gifting Order

Submit Order

  • When you successfully call the Submit Order API
  • Then the response should return an HTTP status of 200 Success and contain the following parameters:
ParameterValue
http status code 200 success
orderIdSystem-generated order identifier
giftIdSystem-generated gift card identifier
cardNumberActivated gift card number
pinRelevant gift card pin
activatedBalanceDollar amount loaded onto the gift card
activationDateTimeTimestamp of the gift card activation

Note: pin is only provided if you do not use our Fulfillment Service

Get Order Summary

  • Given you have a successfully placed order
  • When you invoke the Get Order Summary API
  • Then you should be able to validate the following parameters in the response:
ParameterValue
http status code 200 success
orderIdSystem-generated order identifier
giftIdSystem-generated gift card identifier
activatedBalanceDollar amount loaded onto the gift card
activationDateTimeTimestamp of the gift card activation

Get Order Status

  • Given you have a successfully placed order
  • When you invoke the Get Order Status API
  • Then you should be able to validate the following parameters in the response:
ParameterValue
http status code 200 success
orderIdSystem-generated order identifier
giftIdSystem-generated gift card identifier
giftCardStatusACTIVATED
deliveryStatusCOMPLETED

Update Order Fulfillment Info

  • Given you have a successfully placed order
  • When you invoke the Update Order Fulfillment Info API
  • Then you should be able to validate the following parameters in the response:
ParameterValue
http status code 200 success
orderIdSystem-generated order identifier
giftIdSystem-generated gift card identifier
emailEmail address the gift card will be delivered to
mobileMobile number the gift card will be delivered to
firstNameFirst name of the gift card recipient

Update Gift Status

  • Given you have a successfully placed order
  • When you invoke the Update Gift Status API
  • Then you should be able to validate the following parameters in the response:
ParameterValue
http status code 200 success
orderIdSystem-generated order identifier
giftIdSystem-generated gift card identifier
giftCardStatusStatus of the gift card, i.e. ACTIVATED CANCELLED BLOCKED EXPIRED or ACTIVATION PENDING
Note: you can only manually update the status to BLOCKED or CANCELLED as part of the request