While the endpoints mentioned in the previous API sections have a definite list of attributes associated to each entity, they can be extended using custom attributes. These custom attributes are designed as name value pairs which can be agreed based on the implementation and the specific requirement (as needed).
Custom Attributes Example
The following example illustrates the use of custom attributes.
POST /transaction HTTP/1.1Content-Type: application/json{ "extAccountIdType": "MSISDN", "extAccountId": "9251234567", "pin": "447064", "description": "Monthly payment for PartnerOne charges for May 2019", "productIds": ["837346"], "amount": "15", "currency": "USD", "type": "prepaid", "taxIncluded": "Y", "extTransactionId": "78984515198", "extendedAttributes": { "attrib1": "abc", "attrib2": "cde", "attrib3": "def" }}