Usage
Parameters
query(object): Object containing parameters: limit, page, offset, provider and category. Default values are page 1, limit 10 and offset 0.getBearerToken(function): Function that returns a bearer token for authentication
Available SKU Categories
The available SKU categories include:TELEPEAJE: Electronic toll payment services.TELEFONIA: Telephony or mobile phone services.GENERAL: General category for miscellaneous SKUs.TESORERIA: Treasury or payment services.LUZ: Electricity or utility bill payments.INTERNET: Internet service payments or packages.TV: Television or cable subscription services.MOVILIDAD: Mobility-related services (e.g., transit, transportation).RECARGAS: Prepaid mobile or service top-ups.GIFT_CARDS: Various gift cards available for purchase.GAMING: Video game-related products or services.VENTAS_CATALOGO: Catalog sales or retail products.DEPORTES: Sports-related goods or services.STREAMING: Streaming service subscriptions (e.g., video or music platforms).
useGetSkus hook.
Return Value
Returns an object containing:fetchAvailableSkus: Function to get all SKUs available to purchase through Chipi.data: List of retrieved SKU dataisLoading: Boolean indicating if the operation is in progresserror: Any error that occurred during the process
