Jumpstart eGift Issuance
Following Project file - used for SOAP UI can be used to go through step by step guide to issue an eGift.
Download - SoapUI REST Project
Here are the steps -
Steps | API | Request/Response | Attributes | Where I can find it |
---|---|---|---|---|
1 | getProductCatalogForTenant | Request | Tenant ID | Use the Tenant ID from the USA Cert. Shared Certificate for Non-Production Testing |
Response | CatalogID | |||
2 | readProductCatalog | Request | Tenant ID | TenantID from getProductCatalogForTenant Request |
CatalogID | CatalogID from getProductCatalogForTenant Response | |||
Response | List of Products in the Catalog | Product KGLV1T3RM3M4QQRZXVT2HXYP5X from readProductCatalog Respone (this is the Digital EGift product which will give Successful response ) In readProduct - /productManagement/v1/product/cache/{product} | ||
3 | readProduct | Request | product | |
Response | Product Detail | |||
4 | generateEGift | Header | TenantID | TenantID from getProductCatalogForTenant Request |
Request | giftAmount | From the range in readProduct response under activationCharacteristics- baseValueAmount and maxValueAmount. Choose a value between baseValueAmount and maxValueAmount. Example - "activationCharacteristics": { "baseValueAmount": 5, "maxValueAmount": 100 | ||
productConfigurationId | defaultProductConfigurationId" from readProduct in generateEGift in productConfigurationId | |||
Response | EGift is created. Other EGift related detail are returned. entityID is the EGiftID. | |||
5 | getAccount | Request | accountID | accountID from generateEGift Response |
TenantID | TenantID from getProductCatalogForTenant Request | |||
Response | Balance on the card and other detail. | |||
6 | reverseEGift | Request | TenantID | TenantID from getProductCatalogForTenant Request |
reversalEGiftRequestId | requestID used in genearteEGift Can be found in Raw request of generateEGift | |||
Response | Confirmation that the eGift has been reversed "isReversal": true, |
Updated almost 2 years ago