Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

315 KB
Raw Blame
{"products":{"airtime":{"url":"https://docs.reloadly.com/assets/api/airtime.json","sha256":"3f70aecf41a0e4b4f7f4194c6c91bfb860848f2a8b698f76165dcf5b66088693","bytes":357454,"model":{"components":{"securitySchemes":{"BearerToken":{"type":"http","scheme":"bearer"}},"schemas":{"AccessTokenRequest":{"type":"object","properties":{"client_id":{"description":"Your account's client ID.","type":"string","example":"qwcLzXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"client_secret":{"description":"Your account's client secret.","type":"string","example":"7kscVxQZ32-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"grant_type":{"description":"The access type being specified.","type":"string","example":"client_credentials"},"audience":{"description":"The product which the access token is to be used for.","type":"string","example":"https://topups.reloadly.com"}}},"AccessTokenResponse200":{"type":"object","properties":{"access_token":{"description":"The access token which can be used to make requests to Reloadly's API.","type":"string","example":"eyJraXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"scope":{"description":"The access token's scope.","type":"string","example":"developer"},"expires_in":{"description":"This indicates how long the access token is to last ( in seconds ) before expiring.","type":"integer","example":5184000},"token_type":{"description":"The type of access token.","type":"string","example":"Bearer"}}},"AccessTokenResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the access token was made.","type":"string","example":"2022-01-06 10:57:50"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Access Denied"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/oauth/token"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_CREDENTIALS"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"AccountsBalanceResponse200":{"type":"object","properties":{"balance":{"description":"The account balance retrieved","type":"number","example":5000.23},"currencyCode":{"description":"The currency abbreviation of the account","type":"string","example":"USD"},"currencyName":{"description":"The currency denomination of the account","type":"string","example":"US Dollar"},"updatedAt":{"description":"The last time a transaction was made on the account","type":"string","example":"2022-02-04 08:45:51"}}},"AccountsBalanceResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the account's balance was made","type":"string","example":"2022-05-11 21:14:00"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/accounts/balance"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"AccountsBalanceResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the account's balance was made","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"number","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/account/balance"}}},"GetAllCountriesResponse200":{"type":"array","items":{"type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country","type":"string","example":"AF"},"name":{"description":"This indicates the country's name","type":"string","example":"Afghanistan"},"continent":{"description":"This indicates the name of the continent where the country is located","type":"string","example":"Asia"},"currencyCode":{"description":"This indicates the code of the country's currency","type":"string","example":"AFN"},"currencyName":{"description":"This indicates the name of the country's currency","type":"string","example":"Afghan Afghani"},"currencySymbol":{"description":"This indicates the symbol of the country's currency","type":"string","example":"؋"},"flag":{"description":"This is a link to an SVG image of the country's flag","type":"string","example":"https://s3.amazonaws.com/rld-flags/af.svg"},"callingCodes":{"type":"array","items":{"type":"string","example":"+93"}}}}},"GetAllCountriesResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of countries was made","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/countries"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"GetAllCountriesResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of countries was made","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"number","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/countrie"}}},"GetCountryByIsoResponse200":{"type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country.","type":"string","example":"AF"},"name":{"description":"This indicates the country's name.","type":"string","example":"Afghanistan"},"continent":{"description":"This indicates the name of the continent where the country is located","type":"string","example":"Asia"},"currencyCode":{"description":"This indicates the code of the country's currency.","type":"string","example":"AFN"},"currencyName":{"description":"This indicates the name of the country's currency.","type":"string","example":"Afghan Afghani"},"currencySymbol":{"description":"This indicates the symbol of the country's currency.","type":"string","example":"؋"},"flag":{"description":"This is a link to an SVG image of the country's flag.","type":"string","example":"https://s3.amazonaws.com/rld-flags/af.svg"},"callingCodes":{"type":"array","items":{"type":"string","example":"+93"}}}},"GetCountryByIsoResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the country's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/countries/PK"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"GetCountryByIsoResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the country's details was made.","type":"string","example":"2021-04-11 13:24:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Country not found and/or not currently supported"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/countries/PKGG"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"COUNTRY_NOT_SUPPORTED"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"GetAllOperatorsResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every operator accessible via Reloadly.","items":{"type":"object","properties":{"id":{"description":"The operator's identification number.","type":"integer","example":88},"operatorId":{"description":"The operator's identification number.","type":"integer","example":88},"name":{"description":"The operator's name.","type":"string","example":"Movistar Colombia"},"bundle":{"description":"This indicates if the operator has any existing bundle plans.","type":"boolean","example":false},"data":{"description":"This indicates if the operator has any existing data plans.","type":"boolean","example":false},"comboProduct":{"description":"This indicates whether the operator is offering a combination product","type":"boolean","example":false,"new":1716159600000},"pin":{"description":"This indicates if the operator supports PIN transactions.","type":"boolean","example":false},"supportsLocalAmounts":{"description":"This indicates if the operator can make top-ups in local amounts.","type":"boolean","example":false},"denominationType":{"description":"This indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":"RANGE"},"senderCurrencyCode":{"description":"This indicates the currency code of the account where the top-up is being made from.","type":"string","example":"USD"},"senderCurrencySymbol":{"description":"This indicates the currency symbol of the account where the top-up is being made from.","type":"string","example":"$"},"destinationCurrencyCode":{"description":"This indicates the currency code of the mobile number where the top-up is being sent to.","type":"string","example":"COP"},"destinationCurrencySymbol":{"description":"This indicates the currency symbol of the mobile number where the top-up is being sent to.","type":"string","example":"$"},"commission":{"description":"This indicates if the operator offers a commission or discount.","type":"number","example":4.42},"internationalDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to foreign numbers.","type":"number","example":4.42},"localDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to local numbers.","type":"number","example":0},"mostPopularAmount":{"description":"This indicates the amount that is often used to make a top-up.","type":"number","example":100},"minAmount":{"description":"This indicates the minimum amount that can be used to make a top-up.","type":"number","example":10},"maxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up.","type":"number","example":1000},"localMinAmount":{"description":"This indicates the minimum amount that can be used to make a top-up locally.","type":"number","example":250},"localMaxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up locally.","type":"number","example":2500},"country":{"type":"object","properties":{"isoName":{"description":"This indicates the country's ISO code.","type":"string","example":"CO"},"name":{"description":"This indicates the country's name.","type":"string","example":"Colombia"}}},"fx":{"type":"object","properties":{"rate":{"description":"This indicates the FX rate at which the top-up will be made.","type":"number","example":2192.1867},"currencyCode":{"description":"This indicates the code of the currency at which the top-up will be made.","type":"string","example":"COP"}}},"logoUrls":{"description":"These are links to SVG images of the operator's logos.","type":"array","example":"https://s3.amazonaws.com/rld-operator/logo-url.png\""},"fixedAmounts":{"description":"This indicates the fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"fixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's fixed amounts.","type":"array","example":[]},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"localFixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's local fixed amounts.","type":"array","example":[]},"suggestedAmounts":{"description":"This indicates the suggested amounts that can be used to make a top-up with the operator.","type":"array","example":[]},"suggestedAmountsMap":{"description":"This indicates the suggested amounts that can be mapped through.","type":"array","example":[]},"promotions":{"description":"This indicates the promotions currently offered by the operator.","type":"array","example":[]},"fees":{"type":"object","description":"This describes the fees charged by the operator.","properties":{"international":{"description":"This indicates the internation fee.","type":"number","example":0.943054},"internationalPercentage":{"description":"This indicates the internation fee percentage.","type":"number","example":0},"local":{"description":"This indicates the local fee.","type":"number","example":300},"localPercentage":{"description":"This indicates the local fee percentage.","type":"number","example":0}}}}}}}},"GetAllOperatorsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of operators was made.","type":"string","example":"2021-03-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/operators/countries/PK"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":"INVALID_TOKEN"},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllOperatorsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of operators was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/operator"}}},"GetOperatorByIdResponse200":{"type":"object","properties":{"id":{"description":"The operator's identification number.","type":"integer","example":88},"operatorId":{"description":"The operator's identification number.","type":"integer","example":88},"name":{"description":"The operator's name.","type":"string","example":"Movistar Colombia"},"bundle":{"description":"This indicates if the operator has any existing bundle plans.","type":"boolean","example":false},"data":{"description":"This indicates if the operator has any existing data plans.","type":"boolean","example":false},"comboProduct":{"description":"This indicates whether the operator is offering a combination product","type":"boolean","example":false,"new":1716159600000},"pin":{"description":"This indicates if the operator supports PIN transactions.","type":"boolean","example":false},"supportsLocalAmounts":{"description":"This indicates if the operator can make top-ups in local amounts.","type":"boolean","example":false},"denominationType":{"description":"This indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":"RANGE"},"senderCurrencyCode":{"description":"This indicates the currency code of the account where the top-up is being made from.","type":"string","example":"USD"},"senderCurrencySymbol":{"description":"This indicates the currency symbol of the account where the top-up is being made from.","type":"string","example":"$"},"destinationCurrencyCode":{"description":"This indicates the currency code of the mobile number where the top-up is being sent to.","type":"string","example":"COP"},"destinationCurrencySymbol":{"description":"This indicates the currency symbol of the mobile number where the top-up is being sent to.","type":"string","example":"$"},"commission":{"description":"This indicates if the operator offers a commission or discount.","type":"number","example":4.42},"internationalDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to foreign numbers.","type":"number","example":4.42},"localDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to local numbers.","type":"number","example":0},"mostPopularAmount":{"description":"This indicates the amount that is often used to make a top-up.","type":"number","example":100},"minAmount":{"description":"This indicates the minimum amount that can be used to make a top-up.","type":"number","example":10},"maxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up.","type":"number","example":1000},"localMinAmount":{"description":"This indicates the minimum amount that can be used to make a top-up locally.","type":"number","example":250},"localMaxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up locally.","type":"number","example":2500},"country":{"type":"object","properties":{"isoName":{"description":"This indicates the country's ISO code.","type":"string","example":"CO"},"name":{"description":"This indicates the country's name.","type":"string","example":"Colombia"}}},"fx":{"type":"object","properties":{"rate":{"description":"This indicates the FX rate at which the top-up will be made.","type":"number","example":2192.1867},"currencyCode":{"description":"This indicates the code of the currency at which the top-up will be made.","type":"string","example":"COP"}}},"logoUrls":{"description":"These are links to SVG images of the operator's logos.","type":"array","example":"https://s3.amazonaws.com/rld-operator/logo-url.png\""},"fixedAmounts":{"description":"This indicates the fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"fixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's fixed amounts.","type":"array","example":[]},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"localFixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's local fixed amounts.","type":"array","example":[]},"suggestedAmounts":{"description":"This indicates the suggested amounts that can be used to make a top-up with the operator.","type":"array","example":[]},"suggestedAmountsMap":{"description":"This indicates the suggested amounts that can be mapped through.","type":"array","example":[]},"promotions":{"description":"This indicates the promotions currently offered by the operator.","type":"array","example":[]},"fees":{"type":"object","description":"This describes the fees charged by the operator.","properties":{"international":{"description":"This indicates the internation fee.","type":"number","example":0.943054},"internationalPercentage":{"description":"This indicates the internation fee percentage.","type":"number","example":0},"local":{"description":"This indicates the local fee.","type":"number","example":300},"localPercentage":{"description":"This indicates the local fee percentage.","type":"number","example":0}}}}},"GetOperatorByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-03-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/operators/128"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":"INVALID_TOKEN"},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetOperatorByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-02-11 11:54:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Operator not found for given id"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/operators/12522"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"AutoDetectAnOperatorResponse200":{"type":"object","properties":{"id":{"description":"The operator's identification number.","type":"integer","example":88},"operatorId":{"description":"The operator's identification number.","type":"integer","example":88},"name":{"description":"The operator's name.","type":"string","example":"Movistar Colombia"},"bundle":{"description":"This indicates if the operator has any existing bundle plans.","type":"boolean","example":false},"data":{"description":"This indicates if the operator has any existing data plans.","type":"boolean","example":false},"comboProduct":{"description":"This indicates whether the operator is offering a combination product","type":"boolean","example":false,"new":1716159600000},"pin":{"description":"This indicates if the operator supports PIN transactions.","type":"boolean","example":false},"supportsLocalAmounts":{"description":"This indicates if the operator can make top-ups in local amounts.","type":"boolean","example":false},"denominationType":{"description":"This indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":"RANGE"},"senderCurrencyCode":{"description":"This indicates the currency code of the account where the top-up is being made from.","type":"string","example":"USD"},"senderCurrencySymbol":{"description":"This indicates the currency symbol of the account where the top-up is being made from.","type":"string","example":"$"},"destinationCurrencyCode":{"description":"This indicates the currency code of the mobile number where the top-up is being sent to.","type":"string","example":"COP"},"destinationCurrencySymbol":{"description":"This indicates the currency symbol of the mobile number where the top-up is being sent to.","type":"string","example":"$"},"commission":{"description":"This indicates if the operator offers a commission or discount.","type":"number","example":4.42},"internationalDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to foreign numbers.","type":"number","example":4.42},"localDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to local numbers.","type":"number","example":0},"mostPopularAmount":{"description":"This indicates the amount that is often used to make a top-up.","type":"number","example":100},"minAmount":{"description":"This indicates the minimum amount that can be used to make a top-up.","type":"number","example":10},"maxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up.","type":"number","example":1000},"localMinAmount":{"description":"This indicates the minimum amount that can be used to make a top-up locally.","type":"number","example":250},"localMaxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up locally.","type":"number","example":2500},"country":{"type":"object","properties":{"isoName":{"description":"This indicates the country's ISO code.","type":"string","example":"CO"},"name":{"description":"This indicates the country's name.","type":"string","example":"Colombia"}}},"fx":{"type":"object","properties":{"rate":{"description":"This indicates the FX rate at which the top-up will be made.","type":"number","example":2192.1867},"currencyCode":{"description":"This indicates the code of the currency at which the top-up will be made.","type":"string","example":"COP"}}},"logoUrls":{"description":"These are links to SVG images of the operator's logos.","type":"array","example":"https://s3.amazonaws.com/rld-operator/logo-url.png\""},"fixedAmounts":{"description":"This indicates the fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"fixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's fixed amounts.","type":"array","example":[]},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"localFixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's local fixed amounts.","type":"array","example":[]},"suggestedAmounts":{"description":"This indicates the suggested amounts that can be used to make a top-up with the operator.","type":"array","example":[]},"suggestedAmountsMap":{"description":"This indicates the suggested amounts that can be mapped through.","type":"array","example":[]},"promotions":{"description":"This indicates the promotions currently offered by the operator.","type":"array","example":[]},"fees":{"type":"object","description":"This describes the fees charged by the operator.","properties":{"international":{"description":"This indicates the internation fee.","type":"number","example":0.943054},"internationalPercentage":{"description":"This indicates the internation fee percentage.","type":"number","example":0},"local":{"description":"This indicates the local fee.","type":"number","example":300},"localPercentage":{"description":"This indicates the local fee percentage.","type":"number","example":0}}}}},"AutoDetectAnOperatorResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-03-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/operators/128"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":"INVALID_TOKEN"},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"AutoDetectAnOperatorResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-02-11 11:54:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Country code must be 2 characters ISO-Alpha-2 country code. See https://www.iban.com/country-codes"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/operators/auto-detect/phone/03238482221/countries/PKGG"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetOperatorByIsoResponse200":{"type":"object","properties":{"id":{"description":"The operator's identification number.","type":"integer","example":88},"operatorId":{"description":"The operator's identification number.","type":"integer","example":88},"name":{"description":"The operator's name.","type":"string","example":"Movistar Colombia"},"bundle":{"description":"This indicates if the operator has any existing bundle plans.","type":"boolean","example":false},"data":{"description":"This indicates if the operator has any existing data plans.","type":"boolean","example":false},"comboProduct":{"description":"This indicates whether the operator is offering a combination product","type":"boolean","example":false,"new":1716159600000},"pin":{"description":"This indicates if the operator supports PIN transactions.","type":"boolean","example":false},"supportsLocalAmounts":{"description":"This indicates if the operator can make top-ups in local amounts.","type":"boolean","example":false},"denominationType":{"description":"This indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":"RANGE"},"senderCurrencyCode":{"description":"This indicates the currency code of the account where the top-up is being made from.","type":"string","example":"USD"},"senderCurrencySymbol":{"description":"This indicates the currency symbol of the account where the top-up is being made from.","type":"string","example":"$"},"destinationCurrencyCode":{"description":"This indicates the currency code of the mobile number where the top-up is being sent to.","type":"string","example":"COP"},"destinationCurrencySymbol":{"description":"This indicates the currency symbol of the mobile number where the top-up is being sent to.","type":"string","example":"$"},"commission":{"description":"This indicates if the operator offers a commission or discount.","type":"number","example":4.42},"internationalDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to foreign numbers.","type":"number","example":4.42},"localDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to local numbers.","type":"number","example":0},"mostPopularAmount":{"description":"This indicates the amount that is often used to make a top-up.","type":"number","example":100},"minAmount":{"description":"This indicates the minimum amount that can be used to make a top-up.","type":"number","example":10},"maxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up.","type":"number","example":1000},"localMinAmount":{"description":"This indicates the minimum amount that can be used to make a top-up locally.","type":"number","example":250},"localMaxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up locally.","type":"number","example":2500},"country":{"type":"object","properties":{"isoName":{"description":"This indicates the country's ISO code.","type":"string","example":"CO"},"name":{"description":"This indicates the country's name.","type":"string","example":"Colombia"}}},"fx":{"type":"object","properties":{"rate":{"description":"This indicates the FX rate at which the top-up will be made.","type":"number","example":2192.1867},"currencyCode":{"description":"This indicates the code of the currency at which the top-up will be made.","type":"string","example":"COP"}}},"logoUrls":{"description":"These are links to SVG images of the operator's logos.","type":"array","example":"https://s3.amazonaws.com/rld-operator/logo-url.png\""},"fixedAmounts":{"description":"This indicates the fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"fixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's fixed amounts.","type":"array","example":[]},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a top-up can be made in with the operator.","type":"array","example":[]},"localFixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's local fixed amounts.","type":"array","example":[]},"suggestedAmounts":{"description":"This indicates the suggested amounts that can be used to make a top-up with the operator.","type":"array","example":[]},"suggestedAmountsMap":{"description":"This indicates the suggested amounts that can be mapped through.","type":"array","example":[]},"promotions":{"description":"This indicates the promotions currently offered by the operator.","type":"array","example":[]},"fees":{"type":"object","description":"This describes the fees charged by the operator.","properties":{"international":{"description":"This indicates the internation fee.","type":"number","example":0.943054},"internationalPercentage":{"description":"This indicates the internation fee percentage.","type":"number","example":0},"local":{"description":"This indicates the local fee.","type":"number","example":300},"localPercentage":{"description":"This indicates the local fee percentage.","type":"number","example":0}}}}},"GetOperatorByIsoResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-03-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/operators/countries/PK"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":"INVALID_TOKEN"},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetOperatorByIsoResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-02-11 11:54:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Country not found and/or not currently supported"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/countries/PKGG"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"COUNTRY_NOT_SUPPORTED"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"FxRateRequest":{"required":["operatorId","amount"],"type":"object","properties":{"operatorId":{"description":"The operator's identification number.","type":"integer","example":341},"amount":{"description":"The amount to be converted.","type":"integer","example":10}}},"FxRateResponse200":{"type":"object","properties":{"id":{"description":"This indicates the identification number of the operator.","type":"integer","example":174},"name":{"description":"This indicates the operator's name.","type":"string","example":"Natcom Haiti"},"fxRate":{"description":"This indicates the exchange rate of the operator's currency to your account's currency. For example, if your account is in Indian Rupees( INR ) and you are making a top-up to a number registered to  Natcom Haiti, the exchange rate returned will be 1.16 ( 1 INR = 1.16 HTG ).","type":"number","example":465},"currencyCode":{"description":"This indicates the currency symbol of the country where the operator is registered.","type":"string","example":"HTG"}}},"FxRateResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's exchange rate was made","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/operators/fx-rate"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"FxRateResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's exchange rate was made","type":"string","example":"2022-01-06 18:37:10"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/operator/fx-rate"}}},"FxRateResponse500":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's exchange rate was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Fx rate is currently not available for this operator, please try again later or contact support."},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/operators/fx-rate\""},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"FX_RATE_NOT_AVAILABLE"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllCommissionsResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every discount accessible via Reloadly.","items":{"type":"object","properties":{"operator":{"type":"object","properties":{"operatorId":{"description":"This indicates the operator's identification number.","type":"integer","example":1},"name":{"description":"This indicates the operator's name.","type":"string","example":"Afghan Wireless Afghanistan"},"countryCode":{"description":"This indicates the ISO code of the country where the operator is registered.","type":"string","example":"AF"},"status":{"description":"This indicates if the operator has any existing discounts.","type":"boolean","example":true},"data":{"description":"This indicates if the operator has any existing data discounts.","type":"boolean","example":false},"bundle":{"description":"This indicates if the operator has any existing bundle discounts.","type":"boolean","example":false}}},"percentage":{"description":"This indicates the percentage discount for every top-up.","type":"number","example":10},"internationalPercentage":{"description":"This indicates the percentage discount for international top-ups.","type":"number","example":10},"localPercentage":{"description":"This indicates the percentage discount for local top-ups.","type":"number","example":10},"updatedAt":{"description":"This indicates the time the discount was first created by the operator.","type":"number","example":10}}}}}},"GetAllCommissionsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of commissions was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/commissions"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllCommissionsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of commissions was made","type":"string","example":"2022-01-06 18:37:10"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/commission"}}},"GetCommissionByIdResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every discount accessible via Reloadly.","items":{"type":"object","properties":{"operator":{"type":"object","properties":{"operatorId":{"description":"This indicates the operator's identification number.","type":"integer","example":1},"name":{"description":"This indicates the operator's name.","type":"string","example":"Afghan Wireless Afghanistan"},"countryCode":{"description":"This indicates the ISO code of the country where the operator is registered.","type":"string","example":"AF"},"status":{"description":"This indicates if the operator has any existing discounts.","type":"boolean","example":true},"data":{"description":"This indicates if the operator has any existing data discounts.","type":"boolean","example":false},"bundle":{"description":"This indicates if the operator has any existing bundle discounts.","type":"boolean","example":false}}},"percentage":{"description":"This indicates the percentage discount for every top-up.","type":"number","example":10},"internationalPercentage":{"description":"This indicates the percentage discount for international top-ups.","type":"number","example":10},"localPercentage":{"description":"This indicates the percentage discount for local top-ups.","type":"number","example":10},"updatedAt":{"description":"This indicates the time the discount was first created by the operator.","type":"number","example":10}}}}}},"GetCommissionByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's commission details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/operators/128/commissions"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetCommissionByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's commission details was made.","type":"string","example":"2021-02-11 11:54:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Operator not found for given id"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/operators/12522/commissions"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllPromotionsResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every promotion accessible via Reloadly.","items":{"type":"object","properties":{"promotionId":{"description":"This is a unique identifier for the ongoing promotion.","type":"integer","example":1},"operatorId":{"description":"This indicates the identification number of the operator offering the promotion.","type":"integer","example":129},"title1":{"description":"This indicates the duration of the promotion and the name of the operator offering it.","type":"string","example":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July..."},"title2":{"description":"This indicates additional information on the promotion.","type":"string","example":"Get 500 MB and 150 minutes for USA or Canada"},"description":{"description":"This indicates a summary of what the promotion is about.","type":"string","example":"For top ups of $10 or more, customer..."},"startDate":{"description":"The date the promotion begins.","type":"string","example":"Mon, 25 Jun 2018 06:00:00 +0000"},"endDate":{"description":"The date the promotion ends.","type":"string","example":"Tue, 26 Jun 2018 05:59:00 +0000"},"denominations":{"description":"This indicates the top-up amounts that are eligible for the promotion.","type":"string","example":"USD 10 and up"},"localDenominations":{"description":"This indicates the local top-up amounts in the destination's currency that are eligible for the promotion.","type":"string","example":"NGN 5000 and up"}}}}}},"GetAllPromotionsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of promotions was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/promotions"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllPromotionsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of promotions was made.","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/promotion"}}},"GetPromotionByIdResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every promotion accessible via Reloadly.","items":{"type":"object","properties":{"promotionId":{"description":"This is a unique identifier for the ongoing promotion.","type":"integer","example":1},"operatorId":{"description":"This indicates the identification number of the operator offering the promotion.","type":"integer","example":129},"title1":{"description":"This indicates the duration of the promotion and the name of the operator offering it.","type":"string","example":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July..."},"title2":{"description":"This indicates additional information on the promotion.","type":"string","example":"Get 500 MB and 150 minutes for USA or Canada"},"description":{"description":"This indicates a summary of what the promotion is about.","type":"string","example":"For top ups of $10 or more, customer..."},"startDate":{"description":"The date the promotion begins.","type":"string","example":"Mon, 25 Jun 2018 06:00:00 +0000"},"endDate":{"description":"The date the promotion ends.","type":"string","example":"Tue, 26 Jun 2018 05:59:00 +0000"},"denominations":{"description":"This indicates the top-up amounts that are eligible for the promotion.","type":"string","example":"USD 10 and up"},"localDenominations":{"description":"This indicates the local top-up amounts in the destination's currency that are eligible for the promotion.","type":"string","example":"NGN 5000 and up"}}}}}},"GetPromotionByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the promotion's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/promotions/6984"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetPromotionByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the promotion's details was made.","type":"string","example":"2022-07-15 14:07:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Promotion not found"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/promotions/12"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetPromotionByIsoResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every promotion accessible via Reloadly.","items":{"type":"object","properties":{"promotionId":{"description":"This is a unique identifier for the ongoing promotion.","type":"integer","example":1},"operatorId":{"description":"This indicates the identification number of the operator offering the promotion.","type":"integer","example":129},"title1":{"description":"This indicates the duration of the promotion and the name of the operator offering it.","type":"string","example":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July..."},"title2":{"description":"This indicates additional information on the promotion.","type":"string","example":"Get 500 MB and 150 minutes for USA or Canada"},"description":{"description":"This indicates a summary of what the promotion is about.","type":"string","example":"For top ups of $10 or more, customer..."},"startDate":{"description":"The date the promotion begins.","type":"string","example":"Mon, 25 Jun 2018 06:00:00 +0000"},"endDate":{"description":"The date the promotion ends.","type":"string","example":"Tue, 26 Jun 2018 05:59:00 +0000"},"denominations":{"description":"This indicates the top-up amounts that are eligible for the promotion.","type":"string","example":"USD 10 and up"},"localDenominations":{"description":"This indicates the local top-up amounts in the destination's currency that are eligible for the promotion.","type":"string","example":"NGN 5000 and up"}}}}}},"GetPromotionByIsoResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the promotion's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/promotions/country-codes/US"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetPromotionByIsoResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the promotion's details was made.","type":"string","example":"2022-07-15 14:07:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Promotion not found"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/promotions/12"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetPromotionByOperatorIdResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every promotion accessible via Reloadly.","items":{"type":"object","properties":{"promotionId":{"description":"This is a unique identifier for the ongoing promotion.","type":"integer","example":1},"operatorId":{"description":"This indicates the identification number of the operator offering the promotion.","type":"integer","example":129},"title1":{"description":"This indicates the duration of the promotion and the name of the operator offering it.","type":"string","example":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July..."},"title2":{"description":"This indicates additional information on the promotion.","type":"string","example":"Get 500 MB and 150 minutes for USA or Canada"},"description":{"description":"This indicates a summary of what the promotion is about.","type":"string","example":"For top ups of $10 or more, customer..."},"startDate":{"description":"The date the promotion begins.","type":"string","example":"Mon, 25 Jun 2018 06:00:00 +0000"},"endDate":{"description":"The date the promotion ends.","type":"string","example":"Tue, 26 Jun 2018 05:59:00 +0000"},"denominations":{"description":"This indicates the top-up amounts that are eligible for the promotion.","type":"string","example":"USD 10 and up"},"localDenominations":{"description":"This indicates the local top-up amounts in the destination's currency that are eligible for the promotion.","type":"string","example":"NGN 5000 and up"}}}}}},"GetPromotionByOperatorIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's promotion's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/promotions/country-codes/US"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetPromotionByOperatorIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's promotion's details was made.","type":"string","example":"2022-07-15 14:07:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Promotion not found"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/promotions/12"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"TopUpsRequest":{"required":["operatorId","amount","recipientPhone"],"type":"object","properties":{"operatorId":{"description":"This indicates the operator's identification number.","type":"string","example":"535"},"amount":{"description":"This indicates the amount of airtime or data that is to be recharged.","type":"string","example":"5.00"},"useLocalAmount":{"description":"This indicates if the recharge is to be made in the operator's local currency. Default is false.","type":"boolean","example":true},"customIdentifier":{"description":"This indicates the transaction reference of the recharge. Note that each transaction reference is to be unique. Once a reference has been used for a top-up, it cannot be reused. <br> <br> _Ensure you change the sample custom identifier in the payload before making a request so as to avoid any errors._","type":"string","example":"This is example identifier 130"},"recipientEmail":{"description":"This indicates the top-up receiver's email (only applicable to Nauta Cuba top-ups).","type":"string","example":"[email protected]"},"recipientPhone":{"type":"object","description":"This contains information on the top-up recipient's phone details.","properties":{"countryCode":{"description":"This indicates the ISO code of the receiving mobile number's country.","type":"string","example":"GB"},"number":{"description":"This indicates the mobile number receiving the top-up.","type":"string","example":"447951731337"}}},"senderPhone":{"type":"object","description":"This contains information on the top-up sender's phone details.","properties":{"countryCode":{"description":"This indicates the ISO code of the sender's country.","type":"string","example":"CA"},"number":{"description":"This indicates the mobile number of the top-up's sender.","type":"string","example":"11231231231"}}}}},"TopUpsResponse200":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a top-up","type":"integer","example":4602843},"status":{"description":"This indicates the status of a transaction. See more info here - include link.","type":"string","example":"SUCCESSFUL"},"operatorTransactionId":{"description":"This indicates the transaction identification number assigned by the operator of the receiving mobile number.","type":"string","example":"7297929551:OrderConfirmed"},"customIdentifier":{"description":"This is the top-up's reference that is to be assigned by the sender.","type":"string","example":"This is example identifier 130"},"recipientPhone":{"description":"This indicates the top-up receiver's mobile number.","type":"integer","example":447951631337},"senderPhone":{"description":"This indicates the sender's mobile number.","type":"string","example":11231231231},"countryCode":{"description":"This indicates if the operator has any existing bundle discounts.","type":"string","example":"GB"},"operatorId":{"description":"The identification number of the receiving mobile number's operator.","type":"integer","example":535},"operatorName":{"description":"The name of the receiving mobile number's operator.","type":"string","example":"EE PIN England"},"discount":{"description":"This indicates if there was a discount on the top-up made and at what rate.","type":"number","example":63.37},"discountCurrencyCode":{"description":"This indicates the currency code of the receiving mobile number.","type":"string","example":"NGN"},"requestedAmount":{"description":"This indicates the top-up amount sent by the originating account.","type":"number","example":3168.4},"requestedAmountCurrencyCode":{"description":"This indicates the currency code of the originating account.","type":"string","example":"NGN"},"deliveredAmount":{"description":"This indicates the top-up amount received by the receiving mobile number.","type":"number","example":4.9985},"deliveredAmountCurrencyCode":{"description":"This indicates the currency in which the top-up was delivered.","type":"string","example":"GBP"},"transactionDate":{"description":"This indicates the date and time the top-up was made.","type":"string","example":"2021-12-06 08:13:39"},"fee":{"description":"This indicates the fee charged for the top-up.","type":"number","example":2.99891},"pinDetail":{"type":"object","description":"This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN top-up.","properties":{"serial":{"description":"This indicates the serial code of the PIN top-up.","type":"integer","example":558111},"info":{"description":"This indicates information on how to utilize the top-up.","type":"string","example":"DIAL *611"},"value":{"description":"This indicates additional information on the PIN.","type":"string","example":null},"code":{"description":"This indicates the code that is to be used to activate the top-up.","type":"integer","example":773709733097662},"ivr":{"description":"This indicates the number to call for an interactive voice response.","type":"string","example":"1-888-888-8888"},"validity":{"description":"This indicates the validity of the PIN.","type":"string","example":"30 days"}}},"balanceInfo":{"type":"object","description":"This contains information of the top-up sender's account balance.","properties":{"oldBalance":{"description":"This indicates the balance of your account before the top-up.","type":"number","example":5109.53732},"newBalance":{"description":"This indicates the balance of your account after the top-up.","type":"number","example":2004.50532},"currencyCode":{"description":"This indicates the currency symbol of your account.","type":"string","example":"NGN"},"currencyName":{"description":"This indicates the currency denomination of your account.","type":"string","example":"Nigerian Naira"},"updatedAt":{"description":"This indicates the time the top-up was made.","type":"string","example":"2021-12-06 13:13:39"}}}}},"TopUpsResponse400":{"type":"object","properties":{"timeStamp":{"description":"The exact time the top-up request was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Recipient phone number is not valid"},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/topups"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_RECIPIENT_PHONE"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"TopUpsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the top-up request was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/topups"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"TopUpsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the top-up request was made.","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/topup"}}},"TopUpsAsyncRequest":{"required":["operatorId","amount","recipientPhone"],"type":"object","properties":{"operatorId":{"description":"This indicates the operator's identification number.","type":"string","example":"535"},"amount":{"description":"This indicates the amount of airtime or data that is to be recharged.","type":"string","example":"5.00"},"useLocalAmount":{"description":"This indicates if the recharge is to be made in the operator's local currency. Default is false.","type":"boolean","example":true},"customIdentifier":{"description":"This indicates the transaction reference of the recharge. Note that each transaction reference is to be unique. Once a reference has been used for a top-up, it cannot be reused. <br> <br> _Ensure you change the sample custom identifier in the payload before making a request so as to avoid any errors._","type":"string","example":"This is example identifier 130"},"recipientEmail":{"description":"This indicates the top-up receiver's email (only applicable to Nauta Cuba top-ups).","type":"string","example":"[email protected]"},"recipientPhone":{"type":"object","description":"This contains information on the top-up recipient's phone details.","properties":{"countryCode":{"description":"This indicates the ISO code of the receiving mobile number's country.","type":"string","example":"GB"},"number":{"description":"This indicates the mobile number receiving the top-up.","type":"string","example":"447951731337"}}},"senderPhone":{"type":"object","description":"This contains information on the top-up sender's phone details.","properties":{"countryCode":{"description":"This indicates the ISO code of the sender's country.","type":"string","example":"CA"},"number":{"description":"This indicates the mobile number of the top-up's sender.","type":"string","example":"11231231231"}}}}},"TopUpsAsyncResponse200":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a top-up.","type":"integer","example":4602843}}},"TopUpsAsyncResponse400":{"type":"object","properties":{"timeStamp":{"description":"The exact time the async top-up request was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Recipient phone number is not valid"},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/topups-async"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_RECIPIENT_PHONE"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"TopUpsAsyncResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the async top-up request was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/topups-async"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"TopUpsAsyncResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the async top-up request was made.","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/topups-asyn"}}},"TopUpsStatusResponse200":{"type":"object","properties":{"code":{"description":"This parameter represents the error code when the check status request fails.","type":"string","example":"null"},"message":{"description":"A friendly message elaborating on the error if an issue exists.","type":"string","example":"null"},"status":{"description":"Indicates the status of a top-up.<br> Note: <br><span class='code'>SUCCESSFUL</span>: This applies when the top up is successfully made.<br> <span class='code'>PROCESSING</span>: This applies while the top up is still being verified from the operator's end. <br><span class='code'>REFUNDED</span>: This applies once the top up is not processed successfully from the airtime operator's end. In this instance, any funds debited from a user's wallet while attempting to make the top-up are automatically refunded. <br><span class='code'>FAILED</span>: This applies when the top-up attempt fails due to an internal error from the operator's end. In this instance, you should wait 30 minutes before reinitiating the top-up. Funds are not debited for a failed top-up attempt. See more info [here](https://www.reloadly.com/blog/how-does-the-get-top-up-status-endpoint-work/).","type":"string","example":"SUCCESSFUL"},"transaction":{"description":"This contains the information about the transaction.","type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a top-up","type":"integer","example":13172},"operatorTransactionId":{"description":"This indicates the transaction identification number assigned by the operator of the receiving mobile number.","type":"string","example":null},"customIdentifier":{"description":"This is the top-up's reference that is to be assigned by the sender.","type":"string","example":"custom-made-top-up"},"recipientPhone":{"description":"This indicates the top-up receiver's mobile number.","type":"string","example":"2348147658720"},"senderPhone":{"description":"This indicates the sender's mobile number.","type":"string","example":"13056154908"},"countryCode":{"description":"This indicates if the operator has any existing bundle discounts.","type":"string","example":"NG"},"operatorId":{"description":"The identification number of the receiving mobile number's operator.","type":"integer","example":341},"operatorName":{"description":"The name of the receiving mobile number's operator.","type":"string","example":"MTN Nigeria"},"discount":{"description":"This indicates if there was a discount on the top-up made and at what rate.","type":"number","example":0},"discountCurrencyCode":{"description":"This indicates the currency code of the receiving mobile number.","type":"string","example":"NGN"},"requestedAmount":{"description":"This indicates the top-up amount sent by the originating account.","type":"number","example":50},"requestedAmountCurrencyCode":{"description":"This indicates the currency code of the originating account.","type":"string","example":"NGN"},"deliveredAmount":{"description":"This indicates the top-up amount received by the receiving mobile number.","type":"number","example":50},"deliveredAmountCurrencyCode":{"description":"This indicates the currency in which the top-up was delivered.","type":"string","example":"NGN"},"transactionDate":{"description":"This indicates the date and time the top-up was made.","type":"string","example":"2021-03-23 12:07:00"},"pinDetail":{"type":"object","description":"This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN top-up.","properties":{"serial":{"description":"This indicates the serial code of the PIN top-up.","type":"string","example":"191418"},"info":{"description":"This indicates information on how to utilize the top-up.","type":"string","example":"DIAL *611"},"value":{"description":"This indicates additional information on the PIN.","type":"string","example":null},"code":{"description":"This indicates the code that is to be used to activate the top-up.","type":"string","example":"773709732277102"},"ivr":{"description":"This indicates the number to call for an interactive voice response.","type":"string","example":"1-888-888-8888"},"validity":{"description":"This indicates the validity of the PIN.","type":"string","example":"30 days"}}},"balanceInfo":{"type":"object","description":"This contains information of the top-up sender's account balance.","properties":{"oldBalance":{"description":"This indicates the balance of your account before the top-up.","type":"number","example":5109.53732},"newBalance":{"description":"This indicates the balance of your account after the top-up.","type":"number","example":2004.50532},"currencyCode":{"description":"This indicates the currency symbol of your account.","type":"string","example":"NGN"},"currencyName":{"description":"This indicates the currency denomination of your account.","type":"string","example":"Nigerian Naira"},"updatedAt":{"description":"This indicates the time the top-up was made.","type":"string","example":"2021-12-06 13:13:39"}}}}}}},"TopUpsStatusResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the top-up's status was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/topups/reports/transactions"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"TopUpsStatusResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the top-up's status was made.","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/topups/reports/transaction"}}},"GetAllTransactionsResponse200":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a top-up","type":"integer","example":13172},"status":{"description":"This indicates the status of a transaction. See more info here - include link.","type":"string","example":"SUCCESSFUL"},"operatorTransactionId":{"description":"This indicates the transaction identification number assigned by the operator of the receiving mobile number.","type":"string","example":null},"customIdentifier":{"description":"This is the top-up's reference that is to be assigned by the sender.","type":"string","example":"custom-made-top-up"},"recipientPhone":{"description":"This indicates the top-up receiver's mobile number.","type":"string","example":"2348147658720"},"senderPhone":{"description":"This indicates the sender's mobile number.","type":"string","example":"13056154908"},"countryCode":{"description":"This indicates if the operator has any existing bundle discounts.","type":"string","example":"NG"},"operatorId":{"description":"The identification number of the receiving mobile number's operator.","type":"integer","example":341},"operatorName":{"description":"The name of the receiving mobile number's operator.","type":"string","example":"MTN Nigeria"},"discount":{"description":"This indicates if there was a discount on the top-up made and at what rate.","type":"number","example":0},"discountCurrencyCode":{"description":"This indicates the currency code of the receiving mobile number.","type":"string","example":"NGN"},"requestedAmount":{"description":"This indicates the top-up amount sent by the originating account.","type":"number","example":50},"requestedAmountCurrencyCode":{"description":"This indicates the currency code of the originating account.","type":"string","example":"NGN"},"deliveredAmount":{"description":"This indicates the top-up amount received by the receiving mobile number.","type":"number","example":50},"deliveredAmountCurrencyCode":{"description":"This indicates the currency in which the top-up was delivered.","type":"string","example":"NGN"},"transactionDate":{"description":"This indicates the date and time the top-up was made.","type":"string","example":"2021-03-23 12:07:00"},"pinDetail":{"type":"object","description":"This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN top-up.","properties":{"serial":{"description":"This indicates the serial code of the PIN top-up.","type":"string","example":"191418"},"info":{"description":"This indicates information on how to utilize the top-up.","type":"string","example":"DIAL *611"},"value":{"description":"This indicates additional information on the PIN.","type":"string","example":null},"code":{"description":"This indicates the code that is to be used to activate the top-up.","type":"string","example":"773709732277102"},"ivr":{"description":"This indicates the number to call for an interactive voice response.","type":"string","example":"1-888-888-8888"},"validity":{"description":"This indicates the validity of the PIN.","type":"string","example":"30 days"}}},"balanceInfo":{"type":"object","description":"This contains information of the top-up sender's account balance.","properties":{"oldBalance":{"description":"This indicates the balance of your account before the top-up.","type":"number","example":5109.53732},"newBalance":{"description":"This indicates the balance of your account after the top-up.","type":"number","example":2004.50532},"currencyCode":{"description":"This indicates the currency symbol of your account.","type":"string","example":"NGN"},"currencyName":{"description":"This indicates the currency denomination of your account.","type":"string","example":"Nigerian Naira"},"updatedAt":{"description":"This indicates the time the top-up was made.","type":"string","example":"2021-12-06 13:13:39"}}}}},"GetAllTransactionsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/topups/reports/transactions"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllTransactionsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":null},"message":{"description":"The error message received after the request was made.","type":"string","example":null},"path":{"description":"The URL path to which the request was made.","type":"string","example":null},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"GetTransactionByIdResponse200":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a top-up","type":"integer","example":13172},"status":{"description":"This indicates the status of a transaction. See more info here - include link.","type":"string","example":"SUCCESSFUL"},"operatorTransactionId":{"description":"This indicates the transaction identification number assigned by the operator of the receiving mobile number.","type":"string","example":null},"customIdentifier":{"description":"This is the top-up's reference that is to be assigned by the sender.","type":"string","example":"custom-made-top-up"},"recipientPhone":{"description":"This indicates the top-up receiver's mobile number.","type":"string","example":"2348147658720"},"senderPhone":{"description":"This indicates the sender's mobile number.","type":"string","example":"13056154908"},"countryCode":{"description":"This indicates if the operator has any existing bundle discounts.","type":"string","example":"NG"},"operatorId":{"description":"The identification number of the receiving mobile number's operator.","type":"integer","example":341},"operatorName":{"description":"The name of the receiving mobile number's operator.","type":"string","example":"MTN Nigeria"},"discount":{"description":"This indicates if there was a discount on the top-up made and at what rate.","type":"number","example":0},"discountCurrencyCode":{"description":"This indicates the currency code of the receiving mobile number.","type":"string","example":"NGN"},"requestedAmount":{"description":"This indicates the top-up amount sent by the originating account.","type":"number","example":50},"requestedAmountCurrencyCode":{"description":"This indicates the currency code of the originating account.","type":"string","example":"NGN"},"deliveredAmount":{"description":"This indicates the top-up amount received by the receiving mobile number.","type":"number","example":50},"deliveredAmountCurrencyCode":{"description":"This indicates the currency in which the top-up was delivered.","type":"string","example":"NGN"},"transactionDate":{"description":"This indicates the date and time the top-up was made.","type":"string","example":"2021-03-23 12:07:00"},"pinDetail":{"type":"object","description":"This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN top-up.","properties":{"serial":{"description":"This indicates the serial code of the PIN top-up.","type":"string","example":"191418"},"info":{"description":"This indicates information on how to utilize the top-up.","type":"string","example":"DIAL *611"},"value":{"description":"This indicates additional information on the PIN.","type":"string","example":null},"code":{"description":"This indicates the code that is to be used to activate the top-up.","type":"string","example":"773709732277102"},"ivr":{"description":"This indicates the number to call for an interactive voice response.","type":"string","example":"1-888-888-8888"},"validity":{"description":"This indicates the validity of the PIN.","type":"string","example":"30 days"}}},"balanceInfo":{"type":"object","description":"This contains information of the top-up sender's account balance.","properties":{"oldBalance":{"description":"This indicates the balance of your account before the top-up.","type":"number","example":5109.53732},"newBalance":{"description":"This indicates the balance of your account after the top-up.","type":"number","example":2004.50532},"currencyCode":{"description":"This indicates the currency symbol of your account.","type":"string","example":"NGN"},"currencyName":{"description":"This indicates the currency denomination of your account.","type":"string","example":"Nigerian Naira"},"updatedAt":{"description":"This indicates the time the top-up was made.","type":"string","example":"2021-12-06 13:13:39"}}}}},"GetTransactionByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/topups/reports/transactions/4602843"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetTransactionByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/topups/reports/transaction/4602843"}}},"NumberLookupGetResponse200":{"type":"object","properties":{"id":{"description":"The operator's identification number.","type":"integer","example":null},"operatorId":{"description":"The operator's identification number.","type":"integer","example":null},"name":{"description":"The operator's name.","type":"string","example":null},"bundle":{"description":"This indicates if the operator has any existing bundle plans.","type":"boolean","example":null},"data":{"description":"This indicates if the operator has any existing data plans.","type":"boolean","example":null},"comboProduct":{"description":"This indicates whether the operator is offering a combination product","type":"boolean","example":false,"new":1716159600000},"pin":{"description":"This indicates if the operator supports PIN transactions.","type":"boolean","example":null},"supportsLocalAmounts":{"description":"This indicates if the operator can make top-ups in local amounts.","type":"boolean","example":null},"denominationType":{"description":"This indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":null},"senderCurrencyCode":{"description":"This indicates the currency code of the account where the top-up is being made from.","type":"string","example":null},"senderCurrencySymbol":{"description":"This indicates the currency symbol of the account where the top-up is being made from.","type":"string","example":null},"destinationCurrencyCode":{"description":"This indicates the currency code of the mobile number where the top-up is being sent to.","type":"string","example":null},"destinationCurrencySymbol":{"description":"This indicates the currency symbol of the mobile number where the top-up is being sent to.","type":"string","example":null},"commission":{"description":"This indicates if the operator offers a commission or discount.","type":"integer","example":null},"internationalDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to foreign numbers.","type":"integer","example":null},"localDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to local numbers.","type":"integer","example":null},"mostPopularAmount":{"description":"This indicates the amount that is often used to make a top-up.","type":"integer","example":null},"minAmount":{"description":"This indicates the minimum amount that can be used to make a top-up.","type":"integer","example":null},"maxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up.","type":"integer","example":null},"localMinAmount":{"description":"This indicates the minimum amount that can be used to make a top-up locally.","type":"integer","example":null},"localMaxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up locally.","type":"integer","example":null},"country":{"type":"object","properties":{"isoName":{"description":"This indicates the country's ISO code.","type":"string","example":null},"name":{"description":"This indicates the country's name.","type":"string","example":null}}},"fx":{"type":"object","properties":{"rate":{"description":"This indicates the FX rate at which the top-up will be made.","type":"integer","example":null},"currencyCode":{"description":"This indicates the code of the currency at which the top-up will be made.","type":"string","example":null}}},"logoUrls":{"description":"These are links to SVG images of the operator's logos.","type":"array","example":null},"fixedAmounts":{"description":"This indicates the fixed amounts that a top-up can be made in with the operator.","type":"array","example":null},"fixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's fixed amounts.","type":"array","example":null},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a top-up can be made in with the operator.","type":"array","example":null},"localFixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's local fixed amounts.","type":"array","example":null},"suggestedAmounts":{"description":"This indicates the suggested amounts that can be used to make a top-up with the operator.","type":"array","example":null},"suggestedAmountsMap":{"description":"This indicates the suggested amounts that can be mapped through.","type":"array","example":null},"promotions":{"description":"This indicates the promotions currently offered by the operator.","type":"array","example":null}}},"NumberLookupGetResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":null},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"NumberLookupGetResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":null},"message":{"description":"The error message received after the request was made.","type":"string","example":null},"path":{"description":"The URL path to which the request was made.","type":"string","example":null},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"NumberLookupPostRequest":{"type":"object","properties":{"number":{"description":"This is the mobile number whose operator details are to be retrieved.","type":"string","example":3238482221},"countryCode":{"description":"This indicates the <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\" target=__blank__>ISO code of the receiving mobile number's country.","type":"string","example":"PK"}}},"NumberLookupPostResponse200":{"type":"object","properties":{"id":{"description":"The operator's identification number.","type":"integer","example":null},"operatorId":{"description":"The operator's identification number.","type":"integer","example":null},"name":{"description":"The operator's name.","type":"string","example":null},"bundle":{"description":"This indicates if the operator has any existing bundle plans.","type":"boolean","example":null},"data":{"description":"This indicates if the operator has any existing data plans.","type":"boolean","example":null},"comboProduct":{"description":"This indicates whether the operator is offering a combination product","type":"boolean","example":false,"new":1716159600000},"pin":{"description":"This indicates if the operator supports PIN transactions.","type":"boolean","example":null},"supportsLocalAmounts":{"description":"This indicates if the operator can make top-ups in local amounts.","type":"boolean","example":null},"denominationType":{"description":"This indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":null},"senderCurrencyCode":{"description":"This indicates the currency code of the account where the top-up is being made from.","type":"string","example":null},"senderCurrencySymbol":{"description":"This indicates the currency symbol of the account where the top-up is being made from.","type":"string","example":null},"destinationCurrencyCode":{"description":"This indicates the currency code of the mobile number where the top-up is being sent to.","type":"string","example":null},"destinationCurrencySymbol":{"description":"This indicates the currency symbol of the mobile number where the top-up is being sent to.","type":"string","example":null},"commission":{"description":"This indicates if the operator offers a commission or discount.","type":"integer","example":null},"internationalDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to foreign numbers.","type":"integer","example":null},"localDiscount":{"description":"This indicates if the operator offers a discount for top-ups made to local numbers.","type":"integer","example":null},"mostPopularAmount":{"description":"This indicates the amount that is often used to make a top-up.","type":"integer","example":null},"minAmount":{"description":"This indicates the minimum amount that can be used to make a top-up.","type":"integer","example":null},"maxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up.","type":"integer","example":null},"localMinAmount":{"description":"This indicates the minimum amount that can be used to make a top-up locally.","type":"integer","example":null},"localMaxAmount":{"description":"This indicates the maximum amount that can be used to make a top-up locally.","type":"integer","example":null},"country":{"type":"object","properties":{"isoName":{"description":"This indicates the country's ISO code.","type":"string","example":null},"name":{"description":"This indicates the country's name.","type":"string","example":null}}},"fx":{"type":"object","properties":{"rate":{"description":"This indicates the FX rate at which the top-up will be made.","type":"integer","example":null},"currencyCode":{"description":"This indicates the code of the currency at which the top-up will be made.","type":"string","example":null}}},"logoUrls":{"description":"These are links to SVG images of the operator's logos.","type":"array","example":null},"fixedAmounts":{"description":"This indicates the fixed amounts that a top-up can be made in with the operator.","type":"array","example":null},"fixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's fixed amounts.","type":"array","example":null},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a top-up can be made in with the operator.","type":"array","example":null},"localFixedAmountsDescriptions":{"description":"This indicates the descriptions for the operator's local fixed amounts.","type":"array","example":null},"suggestedAmounts":{"description":"This indicates the suggested amounts that can be used to make a top-up with the operator.","type":"array","example":null},"suggestedAmountsMap":{"description":"This indicates the suggested amounts that can be mapped through.","type":"array","example":null},"promotions":{"description":"This indicates the promotions currently offered by the operator.","type":"array","example":null}}},"NumberLookupPostResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":null},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"NumberLookupPostResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the operator's details was made.","type":"string","example":null},"message":{"description":"The error message received after the request was made.","type":"string","example":null},"path":{"description":"The URL path to which the request was made.","type":"string","example":null},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}}}},"paths":{"/oauth/token":{"servers":[{"url":"https://auth.reloadly.com"}],"post":{"tags":["Authentication"],"summary":"Create Access Token","description":"Reloadly employs the <a href=\"https://oauth.net/2/\" target=__blank__> OAuth 2.0 standard</a>.Note that all API requests must be made over <a href='https://en.wikipedia.org/wiki/HTTP_Secure'>HTTPS</a>. Calls made over plain HTTP will fail. API requests without authentication will also fail. <br><br> To get an access token, first obtain your **client id** and **client secret** from the Reloadly dashboard. Remember to toggle between **LIVE** mode and **TEST** mode on the dashboard sidebar to select the appropriate **client id** and **client secret**. <br><br> After selecting the appropriate client credentials for the environment you want to work with, make a **POST** request with the payload format provided in the code sample section.","operationId":"authentication/access-token","security":[],"responses":{"200":{"description":"Successfully created an access token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse200"},"example":{"access_token":"eyJraWQiOiJjNGE1ZWU1Zi0xYmE2LTQ1N2UtOTI3Yi1lYzdiODliNzcxZTIiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NzkzIiwiaXNzIjoiaHR0cHM6Ly9yZWxvYWRseS1zYW5kYm94LmF1dGgwLmNvbS8iLCJodHRwczovL3JlbG9hZGx5LmNvbS9zYW5kYm94Ijp0cnVlLCJodHRwczovL3JlbG9hZGx5LmNvbS9wcmVwYWlkVXNlcklkIjoiNjc5MyIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsImF1ZCI6Imh0dHBzOi8vZ2lmdGNhcmRzLXNhbmRib3gucmVsb2FkbHkuY29tIiwibmJmIjoxNjU4MDY2NDkxLCJhenAiOiI2NzkzIiwic2NvcGUiOiJkZXZlbG9wZXIiLCJleHAiOjE2NTgxNTI4OTEsImh0dHBzOi8vcmVsb2FkbHkuY29tL2p0aSI6ImIyMmY3MDRmLTJkMWEtNDZjMC1hYjUxLWZkMzAwNWQxNWM0MiIsImlhdCI6MTY1ODA2NjQdjwfbianRpIjoiMWM1ZmY5YTItNzJhMC00ZDg2LWFjZmYtZmU1NDMxNGU0OGQ4In0.P3f-eNbrjFuGHuDKNGjskzifPARaJPRMVS4gGisp0ZA","scope":"developer","expires_in":5184000,"token_type":"Bearer"}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse401"},"example":{"timeStamp":"2022-01-06 10:57:50","message":"Access Denied","path":"/oauth/token","errorCode":"INVALID_CREDENTIALS","infoLink":null,"details":[]}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenRequest"}}}}}},"/accounts/balance":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Account Balance"],"summary":"View Account Balance","description":"Retrieve the details of your account's balance.","operationId":"airtime/accounts-balance","responses":{"200":{"description":"Successfully retrieved balance details","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse200"},"example":{"balance":5000,"currencyCode":"USD","currencyName":"US Dollar","updatedAt":"2021-12-04 08:45:51"}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse401"},"example":{"timeStamp":"2021-05-11 21:14:00","message":"Full authentication is required to access this resource","path":"/accounts/balance","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/accounts/balnce"}}}}}}},"/countries":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Countries"],"summary":"Get Countries","description":"Retrieve the details of every country where a top-up can be made.","operationId":"airtime/get-all-countries","responses":{"200":{"description":"Successfully retrieved details of all countries","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCountriesResponse200"},"example":[{"isoName":"AF","name":"Afghanistan","continent":"Asia","currencyCode":"AFN","currencyName":"Afghan Afghani","currencySymbol":"؋","flag":"https://s3.amazonaws.com/rld-flags/af.svg","callingCodes":["+93"]},{},{}]}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCountriesResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/countries","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCountriesResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/countrie"}}}}}}},"/countries/{countrycode}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Countries"],"summary":"Get Country by ISO code","description":"Retrieve the details of a country by making a request with its ISO code.","operationId":"airtime/get-country-by-iso","parameters":[{"in":"path","name":"countrycode","description":"The country's ISO Code.","required":true,"schema":{"type":"string","example":"US"}}],"responses":{"200":{"description":"Successfully retrieved details of a country","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetCountryByIsoResponse200"},"example":[{"isoName":"AG","name":"Antigua and Barbuda","continent":"North America","currencyCode":"XCD","currencyName":"East Caribbean Dollar","currencySymbol":"XCD","flag":"https://s3.amazonaws.com/rld-flags/ag.svg","callingCodes":["+1268"]}]}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetCountryByIsoResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/countries/PK","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetCountryByIsoResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Country not found and/or not currently supported","path":"/countries/PKGG","errorCode":"COUNTRY_NOT_SUPPORTED","infoLink":null,"details":[]}}}}}}},"/operators":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Operators"],"summary":"Get Operators","description":"Retrieve the details of every operator that can be used to send or receive a top-up.","operationId":"airtime/get-all-operators","parameters":[{"in":"query","name":"includeBundles","schema":{"type":"boolean","description":"Indicates if any airtime and data bundles being offered by the operator should be included in the API response. Default value is true.","example":true}},{"in":"query","name":"includeData","schema":{"type":"boolean","description":"Indicates if any airtime or data plans being offered by the operator should be included in the API response. Default value is true.","example":true}},{"in":"query","name":"suggestedAmountsMap","schema":{"type":"boolean","description":"Indicates if this field should be returned as a response. Default value is  false.","example":false}},{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of operators to be retrieved on a page. Default value is 200.","example":10}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the operator list being retrieved. Default value is 1.","example":2}},{"in":"query","name":"includeCombo","schema":{"type":"boolean","description":"Indicates if any combo products being offered by the operator should be returned as a response. Default value is true.","example":false},"required":false,"new":1716159600000},{"in":"query","name":"comboOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available combo operators. Default value is false.","example":false},"required":false,"new":1716159600000},{"in":"query","name":"bundlesOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available bundle operators. Default value is false.","example":false},"required":false,"new":1716159600000},{"in":"query","name":"dataOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available data operators. Default value is false","example":false},"required":false,"new":1716159600000},{"in":"query","name":"pinOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available pin operators. Default value is false","example":false},"required":false,"new":1716159600000}],"responses":{"200":{"description":"Successfully retrieved details of all operators","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllOperatorsResponse200"},"example":{"content":[{"id":88,"operatorId":88,"name":"Movistar Colombia","bundle":false,"data":false,"comboProduct":false,"pin":false,"supportsLocalAmounts":false,"denominationType":"RANGE","senderCurrencyCode":"USD","senderCurrencySymbol":"$","destinationCurrencyCode":"COP","destinationCurrencySymbol":"$","commission":4.42,"internationalDiscount":4.42,"localDiscount":0,"mostPopularAmount":null,"minAmount":5,"maxAmount":5,"localMinAmount":null,"localMaxAmount":null,"country":{"isoName":"CO","name":"Colombia"},"fx":{"rate":2192.1867,"currencyCode":"COP"},"logoUrls":["https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-1.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-2.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-3.png"],"fixedAmounts":[],"fixedAmountsDescriptions":[],"localFixedAmounts":[],"localFixedAmountsDescriptions":[],"suggestedAmounts":[7,10,15],"suggestedAmountsMap":{"7":19482.51,"10":27832.16,"15":41748.23},"promotions":[],"fees":{"international":0.943054,"internationalPercentage":0,"local":300,"localPercentage":0}},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllOperatorsResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/operators","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllOperatorsResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/operator"}}}}}}},"/operators/{operatorid}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Operators"],"summary":"Get Operator by ID","description":"Retrieve the details of an operator by making a request with its identification number","operationId":"airtime/get-operator-by-id","parameters":[{"in":"path","name":"operatorid","description":"The operator's identification number.","required":true,"schema":{"type":"integer","example":341}}],"responses":{"200":{"description":"Successfully retrieved details of an operator","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetOperatorByIdResponse200"},"example":{"id":88,"operatorId":88,"name":"Movistar Colombia","bundle":false,"data":false,"comboProduct":false,"pin":false,"supportsLocalAmounts":false,"denominationType":"RANGE","senderCurrencyCode":"USD","senderCurrencySymbol":"$","destinationCurrencyCode":"COP","destinationCurrencySymbol":"$","commission":4.42,"internationalDiscount":4.42,"localDiscount":0,"mostPopularAmount":null,"minAmount":5,"maxAmount":5,"localMinAmount":null,"localMaxAmount":null,"country":{"isoName":"CO","name":"Colombia"},"fx":{"rate":2192.1867,"currencyCode":"COP"},"logoUrls":["https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-1.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-2.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-3.png"],"fixedAmounts":[],"fixedAmountsDescriptions":[],"localFixedAmounts":[],"localFixedAmountsDescriptions":[],"suggestedAmounts":[7,10,15],"suggestedAmountsMap":{"7":19482.51,"10":27832.16,"15":41748.23},"promotions":[],"fees":{"international":0.943054,"internationalPercentage":0,"local":300,"localPercentage":0}}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetOperatorByIdResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/operators/128","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetOperatorByIdResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Operator not found for given id","path":"/operators/12522","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/operators/auto-detect/phone/{phone}/countries/{countryisocode}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Operators"],"summary":"Auto Detect Operator","description":"Retrieve the details of a mobile number by making a request using the mobile number and the ISO code of the country where it is registered.","operationId":"airtime/auto-detect-an-operator","parameters":[{"in":"path","name":"phone","description":"The mobile number whose details are to be retrieved.","required":true,"schema":{"type":"integer","example":8147658721}},{"in":"path","name":"countryisocode","description":"The ISO code of the country where the mobile number is registered.","required":true,"schema":{"type":"string","example":"NG"}},{"in":"query","name":"suggestedAmountsMap","description":"Indicates if this field should be returned as a response. Default value is false.","required":false,"schema":{"type":"boolean","example":true}},{"in":"query","name":"suggestedAmounts","description":"Indicates if this field should be returned as a response. Default value is false.","required":false,"schema":{"type":"boolean","example":false}}],"responses":{"200":{"description":"Successfully retrieved details of a mobile number","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/AutoDetectAnOperatorResponse200"},"example":{"id":88,"operatorId":88,"name":"Movistar Colombia","bundle":false,"data":false,"comboProduct":false,"pin":false,"supportsLocalAmounts":false,"denominationType":"RANGE","senderCurrencyCode":"USD","senderCurrencySymbol":"$","destinationCurrencyCode":"COP","destinationCurrencySymbol":"$","commission":4.42,"internationalDiscount":4.42,"localDiscount":0,"mostPopularAmount":null,"minAmount":5,"maxAmount":5,"localMinAmount":null,"localMaxAmount":null,"country":{"isoName":"CO","name":"Colombia"},"fx":{"rate":2192.1867,"currencyCode":"COP"},"logoUrls":["https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-1.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-2.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-3.png"],"fixedAmounts":[],"fixedAmountsDescriptions":[],"localFixedAmounts":[],"localFixedAmountsDescriptions":[],"suggestedAmounts":[7,10,15],"suggestedAmountsMap":{"7":19482.51,"10":27832.16,"15":41748.23},"promotions":[],"fees":{"international":0.943054,"internationalPercentage":0,"local":300,"localPercentage":0}}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/AutoDetectAnOperatorResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"operators/auto-detect/phone/03238482221/countries/PK","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/AutoDetectAnOperatorResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Country code must be 2 characters ISO-Alpha-2 country code. See https://www.iban.com/country-codes","path":"/operators/auto-detect/phone/03238482221/countries/PKGG","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/operators/countries/{countrycode}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Operators"],"summary":"Get Operator by ISO Code","description":"Retrieve the details of all the operators within a particular country by making a request with the country's ISO code.","operationId":"airtime/get-operator-by-iso","parameters":[{"in":"path","name":"countrycode","description":"The ISO code of the country where the operator is registered.","required":true,"schema":{"type":"string","example":"CO"}},{"in":"query","name":"suggestedAmountsMap","schema":{"type":"boolean","description":"Indicates if this field should be returned as a response. Default value is false.","example":false},"required":false},{"in":"query","name":"suggestedAmounts","schema":{"type":"boolean","description":"Indicates if this field should be returned as a response. Default value is false.","example":false},"required":false},{"in":"query","name":"includePin","schema":{"type":"boolean","description":"Indicates if PIN details if applicable to the operator, should be returned as a response. Default value is true.","example":false},"required":false},{"in":"query","name":"includeData","schema":{"type":"boolean","description":"Indicates if any data plans being offered by the operator should be returned as a response. Default value is true.","example":false},"required":false},{"in":"query","name":"includeBundles","schema":{"type":"boolean","description":"Indicates if any airtime and data bundles being offered by the operator should be returned as a response. Default value is true.","example":false},"required":false},{"in":"query","name":"includeCombo","schema":{"type":"boolean","description":"Indicates if any combo products being offered by the operator should be returned as a response. Default value is true.","example":false},"required":false,"new":1716159600000},{"in":"query","name":"comboOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available combo operators. Default value is false.","example":false},"required":false,"new":1716159600000},{"in":"query","name":"bundlesOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available bundle operators. Default value is false.","example":false},"required":false,"new":1716159600000},{"in":"query","name":"dataOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available data operators. Default value is false","example":false},"required":false,"new":1716159600000},{"in":"query","name":"pinOnly","schema":{"type":"boolean","description":"This adds a filter that only returns the available pin operators. Default value is false","example":false},"required":false,"new":1716159600000}],"responses":{"200":{"description":"Successfully retrieved details of an operator","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetOperatorByIsoResponse200"},"example":{"example":{"id":88,"operatorId":88,"name":"Movistar Colombia","bundle":false,"data":false,"comboProduct":false,"pin":false,"supportsLocalAmounts":false,"denominationType":"RANGE","senderCurrencyCode":"USD","senderCurrencySymbol":"$","destinationCurrencyCode":"COP","destinationCurrencySymbol":"$","commission":4.42,"internationalDiscount":4.42,"localDiscount":0,"mostPopularAmount":null,"minAmount":5,"maxAmount":5,"localMinAmount":null,"localMaxAmount":null,"country":{"isoName":"CO","name":"Colombia"},"fx":{"rate":2192.1867,"currencyCode":"COP"},"logoUrls":["https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-1.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-2.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-3.png"],"fixedAmounts":[],"fixedAmountsDescriptions":[],"localFixedAmounts":[],"localFixedAmountsDescriptions":[],"suggestedAmounts":[7,10,15],"suggestedAmountsMap":{"7":19482.51,"10":27832.16,"15":41748.23},"promotions":[],"fees":{"international":0.943054,"internationalPercentage":0,"local":300,"localPercentage":0}}}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetOperatorByIsoResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/operators/countries/PK","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetOperatorByIsoResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Country not found and/or not currently supported","path":"/countries/PKGG","errorCode":"COUNTRY_NOT_SUPPORTED","infoLink":null,"details":[]}}}}}}},"/operators/fx-rate":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"post":{"tags":["FX Rates"],"summary":"Fetch FX Rate","description":"Retrieve the foreign exchange rate details of an operator by making a request with its identification number.","operationId":"airtime/fx-rate","responses":{"200":{"description":"Successfully retrieved details of an operator's foreign exchange rate.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse200"},"example":{"id":174,"name":"Natcom Haiti","fxRate":465,"currencyCode":"HTG"}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse401"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Full authentication is required to access this resource","path":"/operators/fx-rate","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse404"},"example":{"timeStamp":"2022-01-06 18:37:10","status":404,"error":"Not Found","message":"No message available","path":"/operator/fx-rate"}}}},"500":{"description":"Failed because the request was made to an operator without a foreign exchange rate.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse500"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Fx rate is currently not available for this operator, please try again later or contact support.","path":"/operators/fx-rate","errorCode":"FX_RATE_NOT_AVAILABLE","infoLink":null,"details":[]}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxRateRequest"}}}}}},"/operators/commissions":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Commissions"],"summary":"Get Commissions","description":"Retrieve the details of every discount being issued by all the airtime and data operators available on Reloadly.","operationId":"airtime/get-all-commissions","parameters":[{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of operators offering discounts to be retrieved on a page. Default value is 200.","example":10}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the discounts list being retrieved. Default value is 1.","example":1}}],"responses":{"200":{"description":"Successfully retrieved details of all discounts","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCommissionsResponse200"},"example":{"content":[{"operator":{"operatorId":1,"name":"Afghan Wireless Afghanistan","countryCode":"AF","status":true,"bundle":false},"percentage":10,"internationalPercentage":10,"localPercentage":0,"updatedAt":"2021-06-26 03:36:16"},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCommissionsResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/commissions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCommissionsResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/commission"}}}}}}},"/operators/{operatorid}/commissions":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Commissions"],"summary":"Get Commission by Operator ID","description":"Retrieve the details of a discount being offered by an operator by making a request with the operator's identification number.","operationId":"airtime/get-commission-by-id","parameters":[{"in":"path","name":"operatorid","description":"The operator's identification number.","required":true,"schema":{"type":"integer","example":341}}],"responses":{"200":{"description":"Successfully retrieved details of an operator's discount(s)","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetCommissionByIdResponse200"},"example":{"operator":{"operatorId":1,"name":"Afghan Wireless Afghanistan","countryCode":"AF","status":true,"bundle":false},"percentage":10,"internationalPercentage":10,"localPercentage":0,"updatedAt":"2021-06-26 03:36:16"}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetCommissionByIdResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/operators/128/commissions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetCommissionByIdResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Operator not found for given id","path":"/operators/12522/commissions","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/promotions":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Promotions"],"summary":"Get Promotions","description":"Retrieve the details of every promotion being issued by any operator available on Reloadly.","operationId":"airtime/get-all-promotions","parameters":[{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of promotions to be retrieved on a page. Default value is 200.","example":10}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the promotions list being retrieved. Default value is 1.","example":1}},{"in":"query","name":"languageCode","schema":{"type":"string","description":"This indicates the language you want the promotion information to be displayed in. The language code is to be specified in the <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=__blank__>ISO 639-1</a> format. Choices are 'EN', 'ES', 'FR', 'IT', 'PT', 'ZH', 'AR', 'HI', 'HT', 'JA' and 'DE'. Default is 'EN'. This is a case-insensitive field. The promotion information is returned in your requested language irrespective of the original language in which the promotion was launched.","example":"EN"}}],"responses":{"200":{"description":"Successfully retrieved details of all promotions.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllPromotionsResponse200"},"example":{"content":[{"promotionId":1,"operatorId":129,"title":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July...","title2":"Get 500 MB and 150 minutes for USA or Canada","description":"For top ups of $10 or more, customer...","startDate":"Mon, 25 Jun 2018 06:00:00 +0000","endDate":"Tue, 26 Jun 2018 05:59:00 +0000","denominations":"USD 10 and up","localDenominations":null},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllPromotionsResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/promotions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllPromotionsResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/promotion"}}}}}}},"/promotions/{promotionid}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Promotions"],"summary":"Get Promotion by ID","description":"Retrieve the details of a promotion by making a request with its identification number.","operationId":"airtime/get-promotion-by-id","parameters":[{"in":"path","name":"promotionid","schema":{"type":"integer","description":"The promotion's identification number.","example":5583},"required":true},{"in":"query","name":"languageCode","schema":{"type":"string","description":"This indicates the language you want the promotion information to be displayed in. The language code is to be specified in the <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=__blank__>ISO 639-1</a> format. Choices are 'EN', 'ES', 'FR', 'IT', 'PT', 'ZH', 'AR', 'HI', 'HT', 'JA' and 'DE'. Default is 'EN'. This is a case-insensitive field. The promotion information is returned in your requested language irrespective of the original language in which the promotion was launched.","example":"EN"}}],"responses":{"200":{"description":"Successfully retrieved details of a promotion.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByIdResponse200"},"example":{"content":{"promotionId":1,"operatorId":129,"title":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July...","title2":"Get 500 MB and 150 minutes for USA or Canada","description":"For top ups of $10 or more, customer...","startDate":"Mon, 25 Jun 2018 06:00:00 +0000","endDate":"Tue, 26 Jun 2018 05:59:00 +0000","denominations":"USD 10 and up","localDenominations":null}}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByIdResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/promotions/6984","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByIdResponse404"},"example":{"timeStamp":"2022-07-15 14:07:00","message":"Promotion not found","path":"/promotions/12","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/promotions/country-codes/{countrycode}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Promotions"],"summary":"Get Promotions by ISO Code","description":"Retrieve the details of every promotion going on in a country by making a request with its ISO code.","operationId":"airtime/get-promotion-by-iso","parameters":[{"in":"path","name":"countrycode","schema":{"type":"string","description":"The ISO code of the country whose promotions are to be retrieved.","example":"US"},"required":true},{"in":"query","name":"languageCode","schema":{"type":"string","description":"This indicates the language you want the promotion information to be displayed in. The language code is to be specified in the <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=__blank__>ISO 639-1</a> format. Choices are 'EN', 'ES', 'FR', 'IT', 'PT', 'ZH', 'AR', 'HI', 'HT', 'JA' and 'DE'. Default is 'EN'. This is a case-insensitive field. The promotion information is returned in your requested language irrespective of the original language in which the promotion was launched.","example":"EN"}}],"responses":{"200":{"description":"Successfully retrieved details of all the promotions being offered in a country.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByIsoResponse200"},"example":{"content":[{"promotionId":1,"operatorId":129,"title":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July...","title2":"Get 500 MB and 150 minutes for USA or Canada","description":"For top ups of $10 or more, customer...","startDate":"Mon, 25 Jun 2018 06:00:00 +0000","endDate":"Tue, 26 Jun 2018 05:59:00 +0000","denominations":"USD 10 and up","localDenominations":null},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByIsoResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/promotions/country-codes/US","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByIsoResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/promotions/country-code/US"}}}}}}},"/promotions/operators/{operatorid}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Promotions"],"summary":"Get Promotions by Operator ID","description":"Retrieve the details of every promotion being ofered by an operator by making a request with the operator's identification number.","operationId":"airtime/get-promotion-by-operator-id","parameters":[{"in":"path","name":"operatorid","schema":{"type":"integer","description":"The identification number of the operator whose promotions are to be retrieved.","example":341},"required":true},{"in":"query","name":"languageCode","schema":{"type":"string","description":"This indicates the language you want the promotion information to be displayed in. The language code is to be specified in the <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=__blank__>ISO 639-1</a> format. Choices are 'EN', 'ES', 'FR', 'IT', 'PT', 'ZH', 'AR', 'HI', 'HT', 'JA' and 'DE'. Default is 'EN'. This is a case-insensitive field. The promotion information is returned in your requested language irrespective of the original language in which the promotion was launched.","example":"EN"}}],"responses":{"200":{"description":"Successfully retrieved details of all the promotions being offered by an operator.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByOperatorIdResponse200"},"example":{"content":[{"promotionId":1,"operatorId":129,"title":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July...","title2":"Get 500 MB and 150 minutes for USA or Canada","description":"For top ups of $10 or more, customer...","startDate":"Mon, 25 Jun 2018 06:00:00 +0000","endDate":"Tue, 26 Jun 2018 05:59:00 +0000","denominations":"USD 10 and up","localDenominations":null},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByOperatorIdResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/promotions/operators/10","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetPromotionByOperatorIdResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/promotions/operator/10"}}}}}}},"/topups":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"post":{"tags":["Top-ups"],"summary":"Make Top-up","description":"Recharge a mobile number with airtime or data by making a request with its operator details.","operationId":"airtime/top-ups","responses":{"200":{"description":"Successfully made a top-up to a mobile number.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsResponse200"},"example":{"transactionId":4602843,"status":"SUCCESSFUL","operatorTransactionId":"7297929551:OrderConfirmed","customIdentifier":"This is example identifier 130","recipientPhone":447951631337,"recipientEmail":null,"senderPhone":11231231231,"countryCode":"GB","operatorId":535,"operatorName":"EE PIN England","discount":63.37,"discountCurrencyCode":"NGN","requestedAmount":3168.4,"requestedAmountCurrencyCode":"NGN","deliveredAmount":4.9985,"deliveredAmountCurrencyCode":"GBP","transactionDate":"2021-12-06 08:13:39","fee":2.99891,"pinDetail":{"serial":558111,"info1":"DIAL *611","info2":"DIAL *611","info3":"DIAL *611","value":null,"code":773709733097662,"ivr":"1-888-888-8888","validity":"30 days"},"balanceInfo":{"oldBalance":5109.53732,"newBalance":2004.50532,"currencyCode":"NGN","currencyName":"Nigerian Naira","updatedAt":"2021-12-06 13:13:39"}}}}},"400":{"description":"Failed because the request was made with an incorrect parameter in the payload.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsResponse400"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Recipient phone number is not valid","path":"/topups","errorCode":"INVALID_RECIPIENT_PHONE","infoLink":null,"details":[]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsResponse401"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Full authentication is required to access this resource","path":"/topups","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/topup"}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopUpsRequest"}}}}}},"/topups-async":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"post":{"tags":["Top-ups"],"summary":"Make Asynchronous Top-up","description":"This endpoint helps users by returning a  **transactionId**  for every top-up transaction made. This ID can then be used to requery the transaction and get its real-time status. <br> <br> <a href=\"https://faq.reloadly.com/en/articles/5250158-introduction-to-asynchronous-top-ups\" target=\"_blank\">This guide</a> provides more information on how to work with async top-ups.","operationId":"airtime/top-ups-async","responses":{"200":{"description":"Successfully retrieved a transaction identification number.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsAsyncResponse200"},"example":{"transactionId":4602843}}}},"400":{"description":"Failed because the request was made with an incorrect parameter in the payload.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsAsyncResponse400"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Recipient phone number is not valid","path":"/topups-async","errorCode":"INVALID_RECIPIENT_PHONE","infoLink":null,"details":[]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsAsyncResponse401"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Full authentication is required to access this resource","path":"/topups-async","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsAsyncResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/topups-asyn"}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopUpsAsyncRequest"}}}}}},"/topups/{transactionId}/status":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Top-ups"],"summary":"Get Top-up Status","description":"Retrieve the real-time status of a top-up by making a request with its identification number.","operationId":"airtime/top-ups-status","parameters":[{"in":"path","name":"transactionId","description":"The transaction identification number of a top-up","required":true,"schema":{"type":"integer","example":13}}],"responses":{"200":{"description":"Successfully retrieved details of a top-up","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsStatusResponse200"},"example":{"code":null,"message":null,"status":"SUCCESSFUL","transaction":{"transactionId":17123515,"status":"SUCCESSFUL","operatorTransactionId":null,"customIdentifier":"11120958","recipientPhone":"971503971821","recipientEmail":null,"senderPhone":"11231231231","countryCode":"AE","operatorId":706,"operatorName":"Salaam Afghanistan","discount":0,"discountCurrencyCode":"USD","requestedAmount":1,"requestedAmountCurrencyCode":"USD","deliveredAmount":84,"deliveredAmountCurrencyCode":"AFN","transactionDate":"2023-09-20 09:49:59","pinDetail":{"serial":558111,"info1":"DIAL *611","info2":"DIAL *611","info3":"DIAL *611","value":null,"code":773709733097662,"ivr":"1-888-888-8888","validity":"30 days"},"balanceInfo":{"cost":1,"currencyCode":"USD","currencyName":"US Dollar","newBalance":35082.72087,"oldBalance":35083.72087,"updatedAt":"2023-09-20 13:49:40"}}}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsStatusResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/topups/4602843/status","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/TopUpsStatusResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/topups/26545/statu"}}}}}}},"/topups/reports/transactions":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Transactions"],"summary":"Get Transactions","description":"Retrieve the details of every top-up transaction carried out on your Reloadly account.","operationId":"airtime/get-all-transactions","parameters":[{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of transactions to be retrieved on a page. Default value is 200.","example":10}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the transactions list being retrieved. Default value is 1.","example":1}},{"in":"query","name":"countryCode","schema":{"type":"string","description":"Indicates the ISO code of the country assigned to the top-up's receiver at the time the top-up transaction was made.","example":"US"}},{"in":"query","name":"operatorId","schema":{"type":"string","description":"Indicates the operator identification number assigned to the top-up transaction at the time it was made.","example":341}},{"in":"query","name":"operatorName","schema":{"type":"string","description":"Indicates the operator name assigned to the top-up transaction at the time it was made.","example":"MTN Nigeria"}},{"in":"query","name":"customIdentifier","schema":{"type":"string","description":"Indicates the unique reference assigned to the top-up transaction at the time it was made.","example":"april-top-up"}},{"in":"query","name":"startDate","schema":{"type":"string","description":"Indicates the beginning of the timeframe range for the transactions to be retrieved.","example":"2021-04-30 00:00:00"}},{"in":"query","name":"endDate","schema":{"type":"string","description":"Indicates the end of the timeframe range for the transactions to be retrieved.","example":"2021-07-30 00:00:00"}}],"responses":{"200":{"description":"Successfully retrieved details of all transactions.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse200"},"example":{"content":[{"transactionId":4602843,"status":"SUCCESSFUL","operatorTransactionId":"7297929551:OrderConfirmed","customIdentifier":"This is example identifier 130","recipientPhone":447951631337,"recipientEmail":null,"senderPhone":11231231231,"countryCode":"GB","operatorId":535,"operatorName":"EE PIN England","discount":63.37,"discountCurrencyCode":"NGN","requestedAmount":3168.4,"requestedAmountCurrencyCode":"NGN","deliveredAmount":4.9985,"deliveredAmountCurrencyCode":"GBP","transactionDate":"2021-12-06 08:13:39","pinDetail":{"serial":558111,"info1":"DIAL *611","info2":"DIAL *611","info3":"DIAL *611","value":null,"code":773709733097662,"ivr":"1-888-888-8888","validity":"30 days"},"balanceInfo":null},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/topups/reports/transactions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/topups/reports/transaction"}}}}}}},"/topups/reports/transactions/{transactionId}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Transactions"],"summary":"Get Transaction by ID","description":"Retrieve the details of a top-up transaction by making a request with its identification number.","operationId":"airtime/get-transaction-by-id","parameters":[{"in":"path","name":"transactionId","schema":{"type":"integer","description":"This indicates the identification number of the transaction to be retrieved.","example":101},"required":true}],"responses":{"200":{"description":"Successfully retrieved details of a transaction.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse200"},"example":{"transactionId":4602843,"status":"SUCCESSFUL","operatorTransactionId":"7297929551:OrderConfirmed","customIdentifier":"This is example identifier 130","recipientPhone":447951631337,"recipientEmail":null,"senderPhone":11231231231,"countryCode":"GB","operatorId":535,"operatorName":"EE PIN England","discount":63.37,"discountCurrencyCode":"NGN","requestedAmount":3168.4,"requestedAmountCurrencyCode":"NGN","deliveredAmount":4.9985,"deliveredAmountCurrencyCode":"GBP","transactionDate":"2021-12-06 08:13:39","pinDetail":{"serial":558111,"info1":"DIAL *611","info2":"DIAL *611","info3":"DIAL *611","value":null,"code":773709733097662,"ivr":"1-888-888-8888","validity":"30 days"},"balanceInfo":null}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/topups/reports/transactions/4602843","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse404"},"example":{"timeStamp":"2022-09-21 13:31:37","message":"Airtime transaction not found","path":"/topups/reports/transactions/39991","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/operators/mnp-lookup/phone/{phone}/countries/{countryCode}":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["MNP Lookup"],"summary":"MNP Lookup - GET","description":"The **GET** method receives the mobile number and the given <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\" target=__blank__>ISO code</a> of the country where the mobile number is registered as path parameters to make this request. A developer may make use of the **GET** method when retrieving the details of a number under the following circumstances <br> <br> &#9679; &nbsp; The number details to be retrieved need to be cached. <br> &#9679; &nbsp; The number details to be retrieved are not sensitive - this is determined by the use case involved. <br> &#9679; &nbsp; Details for a single mobile number are required.","operationId":"number-lookup/get","parameters":[{"in":"path","name":"phone","description":"This is the mobile number whose details are to be retrieved.","required":true,"schema":{"type":"number","example":8147658721}},{"in":"path","name":"countryCode","description":"This is the <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\">ISO code</a> of the country where the mobile number is registered.","required":true,"schema":{"type":"string","example":"NG"}},{"in":"query","name":"suggestedAmountsMap","description":"Indicates if this field should be returned as a response. Default value is false.","required":false,"schema":{"type":"boolean","example":false}},{"in":"query","name":"suggestedAmounts","description":"Indicates if this field should be returned as a response. Default value is false.","required":false,"schema":{"type":"boolean","example":false}}],"responses":{"200":{"description":"Successfully retrieved details of a mobile number","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/NumberLookupGetResponse200"},"example":{"id":88,"operatorId":88,"name":"Movistar Colombia","bundle":false,"data":false,"comboProduct":false,"pin":false,"supportsLocalAmounts":false,"denominationType":"RANGE","senderCurrencyCode":"USD","senderCurrencySymbol":"$","destinationCurrencyCode":"COP","destinationCurrencySymbol":"$","commission":4.42,"internationalDiscount":4.42,"localDiscount":0,"mostPopularAmount":null,"minAmount":5,"maxAmount":5,"localMinAmount":null,"localMaxAmount":null,"country":{"isoName":"CO","name":"Colombia"},"fx":{"rate":2192.1867,"currencyCode":"COP"},"logoUrls":["https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-1.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-2.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-3.png"],"fixedAmounts":[],"fixedAmountsDescriptions":[],"localFixedAmounts":[],"localFixedAmountsDescriptions":[],"suggestedAmounts":[7,10,15],"suggestedAmountsMap":{"7":19482.51,"10":27832.16,"15":41748.23},"promotions":[]}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/NumberLookupGetResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"operators/mnp-lookup/phone/{phone}/countries/{countryCode}","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the details of a mobile number's operator could not be retrieved.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/NumberLookupGetResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","status":404,"error":"Not Found","message":"mnp lookup for given number failed","path":"/operators/mnp-lookup/03747658727/countries/ES"}}}}}}},"/mnp-lookup/operators":{"servers":[{"url":"https://topups.reloadly.com","description":"Production"},{"url":"https://topups-sandbox.reloadly.com","description":"Sandbox"}],"post":{"tags":["MNP Lookup"],"summary":"MNP Lookup - POST","description":"The **POST** method receives the mobile number and the given <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\" target=__blank__>ISO code</a> of the country where the mobile number is registered as body parameters to make this request. A developer may make use of the **POST** method when retrieving the details of a number under the following conditions <br> <br> &#9679; &nbsp; The number details to be retrieved are not to be stored or cached. <br> &#9679; &nbsp; The number details to be retrieved are sensitive  and need to be protected. <br> &#9679; &nbsp; Details for multiple mobile numbers are required.","operationId":"numberlookup/post","responses":{"200":{"description":"Successfully retrieved details of a mobile number","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/NumberLookupPostResponse200"},"example":{"id":88,"operatorId":88,"name":"Movistar Colombia","bundle":false,"data":false,"comboProduct":false,"pin":false,"supportsLocalAmounts":false,"denominationType":"RANGE","senderCurrencyCode":"USD","senderCurrencySymbol":"$","destinationCurrencyCode":"COP","destinationCurrencySymbol":"$","commission":4.42,"internationalDiscount":4.42,"localDiscount":0,"mostPopularAmount":null,"minAmount":5,"maxAmount":5,"localMinAmount":null,"localMaxAmount":null,"country":{"isoName":"CO","name":"Colombia"},"fx":{"rate":2192.1867,"currencyCode":"COP"},"logoUrls":["https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-1.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-2.png","https://s3.amazonaws.com/rld-operator/3f4a8bcd3268-size-3.png"],"fixedAmounts":[],"fixedAmountsDescriptions":[],"localFixedAmounts":[],"localFixedAmountsDescriptions":[],"suggestedAmounts":[7,10,15],"suggestedAmountsMap":{"7":19482.51,"10":27832.16,"15":41748.23},"promotions":[]}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/NumberLookupPostResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/mnp-lookup/operators","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the details of a mobile number's operator could not be retrieved.","content":{"application/com.reloadly.topups-v1+json":{"schema":{"$ref":"#/components/schemas/NumberLookupPostResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","status":404,"error":"Not Found","message":"mnp lookup for given number failed","path":"/mnp-lookup/operators"}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NumberLookupPostRequest"}}}}}}}}},"giftcards":{"url":"https://docs.reloadly.com/assets/api/gift-cards.json","sha256":"7f3459a87700f0fb607103b996425286c9cdeaa9304f371feb5bbbc20a3fcba3","bytes":248113,"model":{"components":{"securitySchemes":{"BearerToken":{"type":"http","scheme":"bearer"}},"schemas":{"AccessTokenRequest":{"type":"object","properties":{"client_id":{"description":"Your account's client identification number.","type":"string","example":"qwcLzXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"client_secret":{"description":"Your account's client secret.","type":"string","example":"7kscVxQZ32-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"grant_type":{"description":"The access type being specified.","type":"string","example":"client_credentials"},"audience":{"description":"The product which the access token is to be used for.","type":"string","example":"https://giftcards.reloadly.com"}}},"AccessTokenResponse200":{"type":"object","properties":{"access_token":{"description":"The access token which can be used to make requests to Reloadly's API","type":"string","example":"eyJraXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"scope":{"description":"The access token's scope","type":"string","example":"developer"},"expires_in":{"description":"This indicates how long the access token is to last ( in seconds ) before expiring","type":"integer","example":5184000},"token_type":{"description":"The type of access token","type":"string","example":"Bearer"}}},"AccessTokenResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the access token was made","type":"string","example":"2022-01-06 10:57:50"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Access Denied"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/oauth/token"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_CREDENTIALS"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":null}}},"AccountsBalanceResponse200":{"type":"object","properties":{"balance":{"description":"The account balance retrieved","type":"number","example":6000.23},"currencyCode":{"description":"The currency abbreviation of the account","type":"string","example":"USD"},"currencyName":{"description":"The currency denomination of the account","type":"string","example":"US Dollar"},"updatedAt":{"description":"The last time a transaction was made on the account","type":"string","example":"2022-02-04 08:45:51"}}},"AccountsBalanceResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the account's balance was made","type":"string","example":"2022-05-11 21:14:00"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/accounts/balance"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"AccountsBalanceResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the account's balance was made","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"number","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/account/balance"}}},"GetAllCategoriesResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"description":"This indicates the unique identification number of the category","type":"number","example":1},"name":{"description":"This indicates the name of the category.","type":"string","example":"Finance"}}}},"GetAllCategoriesResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of categories was made","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/product-categories"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"GetAllCategoriesResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of categories was made","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"number","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/product-categories"}}},"GetAllCountriesResponse200":{"type":"array","items":{"type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country","type":"string","example":"AF"},"name":{"description":"This indicates the country's name","type":"string","example":"Afghanistan"},"continent":{"description":"This indicates the name of the continent where the country is located","type":"string","example":"Asia"},"currencyCode":{"description":"This indicates the code of the country's currency","type":"string","example":"AFN"},"currencyName":{"description":"This indicates the name of the country's currency","type":"string","example":"Afghan Afghani"},"currencySymbol":{"description":"This indicates the symbol of the country's currency","type":"string","example":"؋"},"flag":{"description":"This is a link to an SVG image of the country's flag","type":"string","example":"https://s3.amazonaws.com/rld-flags/af.svg"},"callingCodes":{"type":"array","items":{"type":"string","example":"+93"}}}}},"GetAllCountriesResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of countries was made","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/countries"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"GetAllCountriesResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of countries was made","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"number","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/countrie"}}},"GetCountryByIsoResponse200":{"type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country.","type":"string","example":"AF"},"name":{"description":"This indicates the country's name.","type":"string","example":"Afghanistan"},"continent":{"description":"This indicates the name of the continent where the country is located","type":"string","example":"Asia"},"currencyCode":{"description":"This indicates the code of the country's currency.","type":"string","example":"AFN"},"currencyName":{"description":"This indicates the name of the country's currency.","type":"string","example":"Afghan Afghani"},"currencySymbol":{"description":"This indicates the symbol of the country's currency.","type":"string","example":"؋"},"flag":{"description":"This is a link to an SVG image of the country's flag.","type":"string","example":"https://s3.amazonaws.com/rld-flags/af.svg"},"callingCodes":{"type":"array","items":{"type":"string","example":"+93"}}}},"GetCountryByIsoResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the country's details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/countries/PK"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"GetCountryByIsoResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the country's details was made.","type":"string","example":"2021-04-11 13:24:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Country not found and/or not currently supported"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/countries/PKGG"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"COUNTRY_NOT_SUPPORTED"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":null}}},"GetAllProductsResponse200":{"type":"array","items":{"type":"object","properties":{"productId":{"description":"This indicates the identification number of the gift card product.","type":"integer","example":1},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"1-800-PetSupplies"},"global":{"description":"This indicates if the gift card is global or regional (country-specific).","type":"boolean","example":false},"senderFee":{"description":"This indicates the fee applied for every gift card purchase. Note that this fee is applied with the user's account currency. Universally, it is a flat fee of  0.5 USD.","type":"number","example":205.29},"senderFeePercentage":{"description":"This indicates the fee percentage applied for every gift card purchase.","type":"number","example":1.0},"discountPercentage":{"description":"This indicates the percentage discount available for every purchase of the gift card.","type":"number","example":7.5},"denominationType":{"description":"This indicates the price(s) for which the gift card can be purchased. Options are either FIXED or RANGE.","type":"string","example":"FIXED"},"recipientCurrencyCode":{"description":"This indicates the currency the gift card product is delivered in.","type":"string","example":"USD"},"recipientCurrencyToSenderCurrencyExchangeRate":{"description":"The exchange rate applied when converting the recipient’s currency into the sender’s currency. This determines how much the sender pays in their local currency for the equivalent value in the recipient’s currency.","type":"number","example":1.12},"minRecipientDenomination":{"description":"This indicates the minimum amount for which a gift card can be purchased. It only applies to gift cards that have a denomination type of RANGE.","type":"number","example":10},"maxRecipientDenomination":{"description":"This indicates the maximum amount for which a gift card can be purchased. It only applies to gift cards that have a denomination type of RANGE.","type":"number","example":1000},"senderCurrencyCode":{"description":"This indicates the currency of the user's account.","type":"string","example":"NGN"},"minSenderDenomination":{"description":"This indicates the minimum amount for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of RANGE.","type":"number","example":10},"maxSenderDenomination":{"description":"This indicates the maximum amount for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of RANGE","type":"number","example":1000},"fixedRecipientDenominations":{"description":"This is an array that contains fixed amounts for which a gift card can be purchased. This only applies to gift cards that have a denomination type of FIXED.","type":"array","items":{"example":[25,50]}},"fixedSenderDenominations":{"description":"This is an array that contains fixed amounts for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of FIXED.","type":"array","items":{"example":[10264.5,20529]}},"fixedRecipientToSenderDenominationsMap":{"description":"This acts as a conversion map between the gift card's price and the value when converted to the user's account currency. This only applies to gift cards that have a denomination type of FIXED","type":"array","items":{"type":"object","properties":{"object":{"example":{"25.00":10264.5,"50.00":20529}}}}},"logoUrls":{"description":"This is a URL link to an image of the gift card.","type":"array"},"brand":{"description":"This is an object that contains details of the various brands that can be accessed in a gift card product.","type":"object","properties":{"brandId":{"description":"This indicates the identification number of a gift card's brand.","type":"integer","example":1},"brandName":{"description":"This indicates that name of the gift card's brand.","type":"string","example":"Amazon"}}},"category":{"description":"This contains the category information of the gift card product.","type":"object","properties":{"id":{"description":"This is the category identifier.","type":"number","example":12},"name":{"description":"This indicates the name of the category.","type":"string","example":"Entertainment"}}},"country":{"description":"This contains all the details of the country where a gift card can be used. It only applies to gift cards that are not global.","type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country where a gift card can be used.","type":"string","example":"US"},"name":{"description":"This indicates the name of the country where a gift card can be used.","type":"string","example":"United States"},"flagUrl":{"description":"Indicates a URL link to an image of the country's flag.","type":"string","example":"https://s3.amazonaws.com/rld-flags/us.svg"}}},"redeemInstructions":{"description":"Indicates an object that contains instructions for redeeming  a gift card.","type":"object","properties":{"concise":{"description":"Indicates a set of brief instructions for redeeming a gift card.","type":"string","example":"This card is redeemable for merchandise on www.1-800-petsupplies.com"},"verbose":{"description":"Indicates a set of lengthy and more detailed instructions for redeeming a gift card.","type":"string","example":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."}}},"supportsPreOrder":{"description":"This indicates if this particular gift card can be pre-ordered.","type":"boolean","example":false},"additionalRequirements":{"description":"This object indicates additional information that may be required for some products. Only applicable to certain products","type":"object","properties":{"userIdRequired":{"type":"boolean","new":1737468780000,"description":"This indicates the user id of the customer that purchased the giftcard. Only applicable to certain products."}},"new":1737468780000},"status":{"description":"This indicates the status of the gift card product.","type":"string","example":"ACTIVE","new":1737468780000}}}},"GetAllProductsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of products was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/products"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllProductsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of products was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/product"}}},"GetProductByIdResponse200":{"type":"object","properties":{"productId":{"description":"This indicates the product identification number of the gift card.","type":"integer","example":1},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"1-800-PetSupplies"},"global":{"description":"This indicates if the gift card is global or regional (country-specific).","type":"boolean","example":false},"senderFee":{"description":"This indicates the fee applied for every gift card purchase. Note that this fee is applied with the user's account currency. Universally, it is a flat fee of  0.5 USD.","type":"number","example":205.29},"senderFeePercentage":{"description":"This indicates the fee percentage applied for every gift card purchase.","type":"number","example":1.0},"discountPercentage":{"description":"This indicates the percentage discount available for every purchase of the gift card.","type":"number","example":7.5},"denominationType":{"description":"This indicates the price(s) for which the gift card can be purchased. Options are either FIXED or RANGE.","type":"string","example":"FIXED"},"recipientCurrencyCode":{"description":"This indicates the currency the gift card product is delivered in.","type":"string","example":"USD"},"recipientCurrencyToSenderCurrencyExchangeRate":{"description":"The exchange rate applied when converting the recipient’s currency into the sender’s currency. This determines how much the sender pays in their local currency for the equivalent value in the recipient’s currency.","type":"number","example":1.12},"minRecipientDenomination":{"description":"This indicates the minimum amount for which a gift card can be purchased. It only applies to gift cards that have a denomination type of RANGE.","type":"number","example":10},"maxRecipientDenomination":{"description":"This indicates the maximum amount for which a gift card can be purchased. It only applies to gift cards that have a denomination type of RANGE.","type":"number","example":1000},"senderCurrencyCode":{"description":"This indicates the currency of the user's account.","type":"string","example":"NGN"},"minSenderDenomination":{"description":"This indicates the minimum amount for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of RANGE.","type":"number","example":10},"maxSenderDenomination":{"description":"This indicates the maximum amount for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of RANGE","type":"number","example":1000},"fixedRecipientDenominations":{"description":"This indicates an array of fixed amounts for which a gift card can be purchased. This only applies to gift cards that have a denomination type of FIXED.","type":"array","items":{"example":[25,50]}},"fixedSenderDenominations":{"description":"This indicates an array of fixed amounts for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of FIXED.","type":"array","items":{"example":[10264.5,20529]}},"fixedRecipientToSenderDenominationsMap":{"description":"This is an array that contains fixed amounts of the gift card's price and their values when converted to the user's account currency. This only applies to gift cards that have a denomination type of FIXED","type":"array","items":{"example":[{"25.00":10264.5},{"50.00":20529}]}},"logoUrls":{"description":"This is a URL link to an image of the gift card.","type":"array"},"brand":{"description":"This is an object that contains details of the various brands that can be accessed in a gift card product.","type":"object","properties":{"brandId":{"description":"This indicates the identification number of a gift card's brand.","type":"integer","example":1},"brandName":{"description":"This indicates that name of the gift card's brand.","type":"string","example":"Amazon"}}},"category":{"description":"This contains the category information of the gift card product.","type":"object","properties":{"id":{"description":"This is the category identifier.","type":"number","example":12},"name":{"description":"This indicates the name of the category.","type":"string","example":"Entertainment"}}},"country":{"description":"This is an object that contains all the details of the country where a gift card can be used. It only applies to gift cards that are not global.","type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country where a gift card can be used.","type":"string","example":"US"},"name":{"description":"This indicates the name of the country where a gift card can be used.","type":"string","example":"United States"},"flagUrl":{"description":"Indicates a URL link to an image of the country's flag.","type":"string","example":"https://s3.amazonaws.com/rld-flags/us.svg"}}},"redeemInstructions":{"description":"This indicates an object that contains instructions for redeeming  a gift card.","type":"object","properties":{"concise":{"description":"Indicates a set of brief instructions for redeeming a gift card.","type":"string","example":"This card is redeemable for merchandise on www.1-800-petsupplies.com"},"verbose":{"description":"Indicates a set of lengthy instructions for redeeming a gift card.","type":"string","example":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."}}},"additionalRequirements":{"description":"This object indicates additional information that may be required for some products. Only applicable to certain products","type":"object","new":1737468780000,"properties":{"userIdRequired":{"type":"boolean","new":1737468780000,"description":"This indicates the user id of the customer that purchased the giftcard. Only applicable to certain products."}}},"status":{"description":"This indicates the status of the gift card product.","type":"string","example":"ACTIVE","new":1737468780000}}},"GetProductByIdResponse400":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card product was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"The product was either not found or is no longer available, Please contact support."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/products/12"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetProductByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card product was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/products/12"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetProductByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card product was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/product/12"}}},"GetProductByIsoResponse200":{"type":"array","items":{"type":"object","properties":{"productId":{"description":"This indicates the product ID of the gift card.","type":"integer","example":1},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"1-800-PetSupplies"},"global":{"description":"This indicates if the gift card is global or regional (country-specific).","type":"boolean","example":false},"senderFee":{"description":"This indicates the fee applied for every gift card purchase. Note that this fee is applied with the user's account currency. Universally, it is a flat fee of  0.5 USD.","type":"number","example":205.29},"senderFeePercentage":{"description":"This indicates the fee percentage applied for every gift card purchase.","type":"number","example":1.0},"discountPercentage":{"description":"This indicates the percentage discount available for every purchase of the gift card.","type":"number","example":7.5},"denominationType":{"description":"This indicates the price(s) for which the gift card can be purchased. Options are either FIXED or RANGE.","type":"string","example":"FIXED"},"recipientCurrencyCode":{"description":"This indicates the currency the gift card product is delivered in.","type":"string","example":"USD"},"recipientCurrencyToSenderCurrencyExchangeRate":{"description":"The exchange rate applied when converting the recipient’s currency into the sender’s currency. This determines how much the sender pays in their local currency for the equivalent value in the recipient’s currency.","type":"number","example":1.12},"minRecipientDenomination":{"description":"This indicates the minimum amount for which a gift card can be purchased. It only applies to gift cards that have a denomination type of RANGE.","type":"number","example":10},"maxRecipientDenomination":{"description":"This indicates the maximum amount for which a gift card can be purchased. It only applies to gift cards that have a denomination type of RANGE.","type":"number","example":1000},"senderCurrencyCode":{"description":"This indicates the currency of the user's account.","type":"string","example":"NGN"},"minSenderDenomination":{"description":"This indicates the minimum amount for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of RANGE.","type":"number","example":10},"maxSenderDenomination":{"description":"This indicates the maximum amount for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of RANGE","type":"number","example":1000},"fixedRecipientDenominations":{"description":"This indicates an array of fixed amounts for which a gift card can be purchased. This only applies to gift cards that have a denomination type of FIXED.","type":"array","items":{"example":[25,50]}},"fixedSenderDenominations":{"description":"This indicates an array of fixed amounts for which a gift card can be purchased in the user's account currency. This only applies to gift cards that have a denomination type of FIXED.","type":"array","items":{"example":[10264.5,20529]}},"fixedRecipientToSenderDenominationsMap":{"description":"This is an array that contains fixed amounts of the gift card's price and their values when converted to the user's account currency. This only applies to gift cards that have a denomination type of FIXED","type":"array","items":{"example":[{"25.00":10264.5},{"50.00":20529}]}},"logoUrls":{"description":"This is a URL link to an image of the gift card.","type":"array"},"brand":{"description":"This is an object that contains details of the various brands that can be accessed in a gift card product.","type":"object","properties":{"brandId":{"description":"This indicates the identification number of a gift card's brand.","type":"integer","example":1},"brandName":{"description":"This indicates that name of the gift card's brand.","type":"string","example":"Amazon"}}},"category":{"description":"This contains the category information of the gift card product.","type":"object","properties":{"id":{"description":"This is the category identifier.","type":"number","example":12},"name":{"description":"This indicates the name of the category.","type":"string","example":"Entertainment"}}},"country":{"description":"This is an object that contains all the details of the country where a gift card can be used. It only applies to gift cards that are not global.","type":"object","properties":{"isoName":{"description":"This indicates the ISO code of the country where a gift card can be used.","type":"string","example":"US"},"name":{"description":"This indicates the name of the country where a gift card can be used.","type":"string","example":"United States"},"flagUrl":{"description":"Indicates a URL link to an image of the country's flag.","type":"string","example":"https://s3.amazonaws.com/rld-flags/us.svg"}}},"redeemInstructions":{"description":"This indicates an object that contains instructions for redeeming  a gift card.","type":"object","properties":{"concise":{"description":"Indicates a set of brief instructions for redeeming a gift card.","type":"string","example":"This card is redeemable for merchandise on www.1-800-petsupplies.com"},"verbose":{"description":"Indicates a set of lengthy instructions for redeeming a gift card.","type":"string","example":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."}}},"additionalRequirements":{"description":"This object indicates additional information that may be required for some products. Only applicable to certain products","type":"object","new":1737468780000,"properties":{"userIdRequired":{"type":"boolean","new":1737468780000,"description":"This indicates the user id of the customer that purchased the giftcard. Only applicable to certain products."}}},"status":{"description":"This indicates the status of the gift card product.","type":"string","example":"ACTIVE","new":1737468780000}}}},"GetProductByIsoResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card product was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/products/US"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetProductByIsoResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card propduct was made.","type":"string","example":"2021-04-11 13:24:00"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Country not found and/or not currently supported"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/countries/USG/products"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"COUNTRY_NOT_SUPPORTED"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllRedeemInstructionsResponse200":{"type":"array","items":{"type":"object","properties":{"brandId":{"description":"This indicates the identification number of the gift card brand to be redeemed","type":"integer","example":1},"brandName":{"description":"This indicates the name of the gift card brand to be redeemed","type":"string","example":"1-800-PetSupplies"},"concise":{"description":"Indicates a set of brief instructions for redeeming a gift card.","type":"string","example":"This card is redeemable for merchandise on www.1-800-petsupplies.com"},"verbose":{"description":"Indicates a set of lengthy instructions for redeeming a gift card.","type":"string","example":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."}}}},"GetAllRedeemInstructionsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of redeem instructions was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/redeem-instructions"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllRedeemInstructionsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of redeem instructions was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/redeem-instruction"}}},"GetRedeemInstructionsByProductIdResponse200":{"type":"object","properties":{"productId":{"description":"This indicates the identification number of the gift card product to be redeemed","type":"integer","example":1},"productName":{"description":"This indicates the name of the gift card product to be redeemed","type":"string","example":"1-800-PetSupplies"},"concise":{"description":"Indicates a set of brief instructions for redeeming a gift card.","type":"string","example":"This card is redeemable for merchandise on www.1-800-petsupplies.com"},"verbose":{"description":"Indicates a set of lengthy instructions for redeeming a gift card.","type":"string","example":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."}}},"GetRedeemInstructionsByProductIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the redeem instructions was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/redeem-instructions/1"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetRedeemInstructionsByProductIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the redeem instructions was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/redeem-instructions/1"}}},"FxRateResponse200":{"type":"object","properties":{"senderCurrency":{"description":"This indicates the currency code of the sender.","type":"string","example":"EUR"},"senderAmount":{"description":"This indicates the amount the sender will be charged.","type":"number","example":88.50978},"recipientCurrency":{"description":"This indicates the currency of the recipient.","type":"string","example":"USD"},"recipientAmount":{"description":"This indicates the amount the recipient will receive.","type":"number","example":94.99}}},"FxRateResponse400":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the exchange rate was made.","type":"string","example":"2023-12-19 12:12:45"},"message":{"description":"The error message received after the request was made.","type":"string","example":"USA"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/fx-rate"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"CURRENCY_NOT_SUPPORTED"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"FxRateResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the exchange rate was made","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/fx-rate"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"FxRateResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the exchange rate was made","type":"string","example":"2022-01-06 18:37:10"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/fx-rate"}}},"GetAllDiscountsResponse200":{"type":"array","items":{"type":"object","properties":{"product":{"type":"object","description":"This is an object that contains details of the gift card product and its discount.","properties":{"productId":{"description":"This indicates the identification number of the gift card product.","type":"integer","example":1},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"1-800-PetSupplies"},"countryCode":{"description":"This indicates the ISO code of the country where a gift card can be used.","type":"string","example":"US"},"global":{"description":"This indicates if the gift card is global or regional (country-specific).","type":"boolean","example":false}}},"discountPercentage":{"description":"This indicates the percentage discount available for every purchase of the gift card.","type":"integer","example":7.5}}}},"GetAllDiscountsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of discounts was made.","type":"string","example":"2021-09-06 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/discounts"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllDiscountsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of discounts was made.","type":"string","example":"2021-06-09 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/discount"}}},"GetDiscountByProductIdResponse200":{"type":"object","properties":{"product":{"type":"object","description":"This is an object that contains details of the gift card product and its discount.","properties":{"productId":{"description":"This indicates the identification number of the gift card product.","type":"integer","example":1},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"1-800-PetSupplies"},"countryCode":{"description":"This indicates the ISO code of the country where a gift card can be used.","type":"string","example":"US"},"global":{"description":"This indicates if the gift card is global or regional (country-specific).","type":"boolean","example":false}}},"discountPercentage":{"description":"This indicates the percentage discount available for every purchase of the gift card.","type":"number","example":7.5}}},"GetDiscountByProductIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of products was made.","type":"string","example":"2021-09-06 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/products/10/discounts"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetDiscountByProductIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of products was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/products/10/discount"}}},"GetAllTransactionsResponse200":{"type":"array","items":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a gift card transaction.","type":"integer","example":1},"amount":{"description":"This indicates the amount deducted for the purchase of the gift card plus fees incurred","type":"number","example":60553.3575},"discount":{"description":"This indicates the discount applied, if there was any - at the point of purchasing the gift card","type":"number","example":2},"currencyCode":{"description":"This is the currency denomination of the user's account","type":"string","example":"NGN"},"fee":{"description":"This indicates the fee applied at the point of purchasing the gift card. This fee is applied in the currency denomination of the user's account.","type":"number","example":1880.0},"recipientEmail":{"description":"This indicates the email address of the gift card's recipient.","type":"string","example":"[email protected]"},"customIdentifier":{"description":"This is a unique reference assigned to the gift card at the point of purchase.","type":"string","example":"obucks3"},"status":{"description":"This indicates the status of the transaction.","type":"string","example":"SUCCESSFUL"},"product":{"description":"This is an object that contains all the product details of the gift card transaction that was made.","type":"object","properties":{"productId":{"description":"This indicates the product ID of the gift card.","type":"integer","example":4},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"Amazon Spain"},"countryCode":{"description":"This indicates the ISO code of the country where the purchased gift card can be used.","type":"string","example":"ES"},"quantity":{"description":"This indicates the number of gift cards that were purchased in a single transaction.","type":"integer","example":5},"unitPrice":{"description":"This indicates the gift card price.","type":"number","example":5},"totalPrice":{"description":"This indicates the total price at which the gift cards were purchased.","type":"number","example":25},"currencyCode":{"description":"This is the currency denomination in which the gift card was purchased.","example":"EUR"},"brand":{"description":"This is an object that contains all details of the gift card brand(s) purchased.","type":"object","properties":{"brandId":{"description":"This indicates the identification number of the gift card brand purchased.","type":"integer","example":2},"brandName":{"description":"This indicates the name of the gift card brand purchased.","type":"string","example":"Amazon"}}}}},"balaneInfo":{"description":"This represents information related to balance update.","type":"object","properties":{"oldBalance":{"description":"The balance before the transaction.","type":"number","example":29.87891},"newBalance":{"description":"The balance after the transaction.","type":"number","example":28.86891},"cost":{"description":"The cost associated with the transaction.","type":"number","example":1.01},"currencyCode":{"description":"The currency code representing the currency in which the balances are denominated.","type":"string","example":"USD"},"currencyName":{"description":"The full name of the currency.","type":"string","example":"USD"},"updatedAt":{"description":"The timestamp when the balance was last updated.","type":"string","example":"2024-08-27 08:54:34"}}},"smsFee":{"description":"This indicates the SMS fee applied at the point of purchasing the gift card. This SMS fee is applied in the currency denomination of the user's account.","type":"number","example":185.76},"totalFee":{"description":"This indicates the total fee applied at the point of purchasing the gift card. This total fee is applied in the currency denomination of the user's account.","type":"number","example":2065.76},"recipientPhone":{"description":"This indcates the mobile number of the recipient.","type":"string","example":"012345678"},"transactionCreatedTime":{"description":"This indicates the date the transaction was made.","type":"string","example":"2021-07-16 22:40:20"},"preOrdered":{"description":"This status will indicate whether the gift card order was placed as a pre-order.","type":"boolean","example":false}}}},"GetAllTransactionsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of transactions was made.","type":"string","example":"2021-09-10 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/reports/transactions"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllTransactionsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of transactions was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":null},"message":{"description":"The error message received after the request was made.","type":"string","example":"Could not retrieve/update resources at the moment, please try again later"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/reports/transaction"}}},"GetTransactionByIdResponse200":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of a gift card transaction.","type":"integer","example":1},"amount":{"description":"This indicates the amount deducted for the purchase of the gift card plus fees incurred","type":"number","example":60553.3575},"discount":{"description":"This indicates the discount applied, if there was any - at the point of purchasing the gift card","type":"number","example":0},"currencyCode":{"description":"This is the currency denomination of the user's account","type":"string","example":"NGN"},"fee":{"description":"This indicates the fee applied at the point of purchasing the gift card. This fee is applied in the currency denomination of the user's account.","type":"number","example":1880.0},"recipientEmail":{"description":"This indicates the email address of the gift card's recipient.","type":"string","example":"[email protected]"},"customIdentifier":{"description":"This is a unique reference assigned to the gift card at the point of purchase.","type":"string","example":"obucks3"},"status":{"description":"This indicates the status of the transaction.","type":"string","example":"SUCCESSFUL"},"product":{"description":"This is an object that contains all the product details of the gift card transaction that was made.","type":"object","properties":{"productId":{"description":"This indicates the product ID of the gift card.","type":"integer","example":4},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"Amazon Spain"},"countryCode":{"description":"This indicates the ISO code of the country where the purchased gift card can be used.","type":"string","example":"ES"},"quantity":{"description":"This indicates the number of gift cards that were purchased in a single transaction.","type":"integer","example":5},"unitPrice":{"description":"This indicates the gift card price.","type":"number","example":5},"totalPrice":{"description":"This indicates the total price at which the gift cards were purchased.","type":"number","example":25},"currencyCode":{"description":"This is the currency denomination in which the gift card was purchased.","type":"string","example":"EUR"},"brand":{"description":"This is an object that contains all details of the gift card brand(s) purchased.","type":"object","properties":{"brandId":{"description":"This indicates the identification number of the gift card brand purchased.","type":"integer","example":2},"brandName":{"description":"This indicates the name of the gift card brand purchased.","type":"string","example":"Amazon"}}}}},"balaneInfo":{"description":"This represents information related to balance update.","type":"object","properties":{"oldBalance":{"description":"The balance before the transaction.","type":"number","example":29.87891},"newBalance":{"description":"The balance after the transaction.","type":"number","example":28.86891},"cost":{"description":"The cost associated with the transaction.","type":"number","example":1.01},"currencyCode":{"description":"The currency code representing the currency in which the balances are denominated.","type":"string","example":"USD"},"currencyName":{"description":"The full name of the currency.","type":"string","example":"USD"},"updatedAt":{"description":"The timestamp when the balance was last updated.","type":"string","example":"2024-08-27 08:54:34"}}},"smsFee":{"description":"This indicates the SMS fee applied at the point of purchasing the gift card. This SMS fee is applied in the currency denomination of the user's account.","type":"number","example":185.76},"totalFee":{"description":"This indicates the total fee applied at the point of purchasing the gift card. This total fee is applied in the currency denomination of the user's account.","type":"number","example":2065.76},"recipientPhone":{"description":"This indcates the mobile number of the recipient.","type":"string","example":"012345678"},"transactionCreatedTime":{"description":"This indicates the date the transaction was made.","type":"string","example":"2021-07-16 22:40:20"},"preOrdered":{"description":"This status will indicate whether the gift card order was placed as a pre-order.","type":"boolean","example":false}}},"GetTransactionByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/reports/transactions/2"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetTransactionByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Gift Card transaction not found."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/reports/transactions/265"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"OrderAGiftCardRequest":{"required":["senderName","productId","quantity","unitPrice"],"type":"object","properties":{"productId":{"description":"This indicates the product identification number of the gift card to be purchased/ordered.","type":"integer","example":10},"quantity":{"description":"This indicates the number of gift cards to be ordered.","type":"integer","example":2},"unitPrice":{"description":"This indicates the price of the gift card to be purchased. <br><br> _Note that this must be specified using a price listed in any of the following sections <br> <br> 1. The **fixedRecipientDenominations** section of the gift card product's details — for gift cards where **denominationType** equals **FIXED** <br> <br> 2. The **minRecipientDenominations** or **maxRecipientDenominations** section of the gift card product's details — for gift cards where **denominationType** equals **RANGE**_.","type":"number","example":5},"customIdentifier":{"description":"This is a unique reference assigned to a gift card order before it is purchased. <br> <br> _Ensure you change the sample custom identifier in the payload before making a request so as to avoid any errors._","type":"string","example":"obucks10"},"productAdditionalRequirements":{"description":"This optional object allows the passage of additional information that may be required for some products.","type":"object","new":1737468780000,"properties":{"userId":{"type":"string","description":"The unique identifier for the user purchasing the giftcard. Only applicable to certain products.","example":"12","new":1737468780000}}},"senderName":{"description":"This indicates the name on the gift card receipt upon purchase.","type":"string","example":"John Doe"},"recipientEmail":{"description":"This indicates the recipient's email for the gift card purchase. If absent, no email will be sent from Reloadly's end.","type":"string","example":"[email protected]"},"recipientPhoneDetails":{"description":"This is an object that contains details of the recipient's mobile number. It can be used as a second layer of authentication for recipients of gift card purchases.","type":"object","properties":{"countryCode":{"description":"This indicates the ISO code of the country where the recipient's mobile number is registered.","type":"string","example":"ES"},"phoneNumber":{"description":"This indicates the mobile number of the recipient.Note that the mobile number format must adhere to the standard <a href='https://en.wikipedia.org/wiki/E.164'>E.164 numbering plan</a>.","type":"string","example":"012345678"}}},"preOrder":{"description":"Set it to true if your users want to pre-order the gift card. If you omit this parameter, it will default to false","type":"boolean","example":false}}},"OrderAGiftCardResponse200":{"type":"object","properties":{"transactionId":{"description":"This indicates the unique identification number of the ordered gift card.","type":"integer","example":1},"amount":{"description":"This indicates the amount deducted for the purchase of the gift card plus fees incurred","type":"number","example":60553.3575},"discount":{"description":"This indicates the discount applied, if there was any - at the point of purchasing the gift card","type":"number","example":0},"currencyCode":{"description":"This is the currency denomination of the user's account","type":"string","example":"NGN"},"fee":{"description":"This indicates the fee applied at the point of purchasing the gift card. This fee is applied in the currency denomination of the user's account.","type":"number","example":1880.0},"recipientEmail":{"description":"This indicates the email address of the gift card's recipient.","type":"string","example":"[email protected]"},"customIdentifier":{"description":"This is a unique reference assigned to the gift card at the point of purchase.","type":"string","example":"obucks10"},"status":{"description":"This indicates the status of the transaction.","type":"string","example":"SUCCESSFUL"},"product":{"description":"This is an object that contains all the product details of the gift card transaction that was made.","type":"object","properties":{"productId":{"description":"This indicates the product ID of the gift card.","type":"integer","example":4},"productName":{"description":"This indicates the gift card's name.","type":"string","example":"Amazon Spain"},"countryCode":{"description":"This indicates the ISO code of the country where the purchased gift card can be used.","type":"string","example":"ES"},"quantity":{"description":"This indicates the number of gift cards that were purchased in a single transaction.","type":"integer","example":5},"unitPrice":{"description":"This indicates the gift card price.","type":"number","example":5},"totalPrice":{"description":"This indicates the total price at which the gift cards were purchased.","type":"number","example":25},"currencyCode":{"description":"This is the currency denomination in which the gift card was purchased.","type":"string","example":"EUR"},"brand":{"description":"This is an object that contains all details of the gift card brand(s) purchased.","type":"object","properties":{"brandId":{"description":"This indicates the identification number of the gift card brand purchased.","type":"integer","example":2},"brandName":{"description":"This indicates the name of the gift card brand purchased.","type":"string","example":"Amazon"}}}}},"smsFee":{"description":"This indicates the SMS fee applied at the point of purchasing the gift card. This SMS fee is applied in the currency denomination of the user's account.","type":"number","example":185.76},"totalFee":{"description":"This indicates the total fee applied at the point of purchasing the gift card. This total fee is applied in the currency denomination of the user's account.","type":"number","example":2065.76},"recipientPhone":{"description":"This indcates the mobile number of the recipient.","type":"string","example":"012345678"},"transactionCreatedTime":{"description":"This indicates the date the transaction was made.","type":"string","example":"2021-02-16 22:40:20"},"preOrdered":{"description":"This status will indicate whether the gift card order was placed as a pre-order.","type":"boolean","example":false},"balaneInfo":{"description":"This represents information related to balance update.","type":"object","properties":{"oldBalance":{"description":"The balance before the transaction.","type":"number","example":29.87891},"newBalance":{"description":"The balance after the transaction.","type":"number","example":28.86891},"cost":{"description":"The cost associated with the transaction.","type":"number","example":1.01},"currencyCode":{"description":"The currency code representing the currency in which the balances are denominated.","type":"string","example":"USD"},"currencyName":{"description":"The full name of the currency.","type":"string","example":"USD"},"updatedAt":{"description":"The timestamp when the balance was last updated.","type":"string","example":"2024-08-27 08:54:34"}}}}},"OrderAGiftCardResponse400":{"type":"object","properties":{"timeStamp":{"description":"The exact time the gift card order attempt was made.","type":"string","example":"2022-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Invalid price. Please ensure you selected the right price."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/orders"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":null},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"OrderAGiftCardResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the gift card order attempt was made.","type":"string","example":"2021-05-15 11:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/orders"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"OrderAGiftCardResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the gift card order attempt was made.","type":"string","example":"2021-07-15 16:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":null},"message":{"description":"The error message received after the request was made.","type":"string","example":null},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/order"}}},"GetARedeemCodeResponse200V2":{"type":"object","properties":{"redemptionUrl":{"description":"A URL where the gift card can be redeemed or activated.","type":"integer"},"cardNumber":{"description":"This indicates the redeem/activation code of the gift card.","type":"integer"},"pinCode":{"description":"This indicates the PIN code of the gift card where applicable.","type":"integer"}}},"GetARedeemCodeResponse200":{"type":"object","properties":{"cardNumber":{"description":"This indicates the redeem/activation code or URL of the gift card.","type":"integer"},"pinCode":{"description":"This indicates the PIN code of the gift card where applicable.","type":"integer"}}},"GetARedeemCodeResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card redeem code was made.","type":"string","example":"2021-02-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource."},"path":{"description":"The URL path which the request was made through.","type":"string","example":"/orders/transactions/3/cards"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetARedeemCodeResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the gift card's redeem code was made.","type":"string","example":"2022-04-16 16:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Invalid transaction id"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/orders/transactions/100/cards"}}}}},"paths":{"/oauth/token":{"servers":[{"url":"https://auth.reloadly.com"}],"post":{"tags":["Authentication"],"summary":"Create Access Token","description":"Reloadly employs the <a href=\"https://oauth.net/2/\" target=__blank__> OAuth 2.0 standard</a>.Note that all API requests must be made over <a href='https://en.wikipedia.org/wiki/HTTP_Secure'>HTTPS</a>. Calls made over plain HTTP will fail. API requests without authentication will also fail. <br><br> To get an access token, first obtain your **client id** and **client secret** from the Reloadly dashboard. Remember to toggle between **LIVE** mode and **TEST** mode on the dashboard sidebar to select the appropriate **client id** and **client secret**. <br><br> After selecting the appropriate client credentials for the environment you want to work with, make a **POST** request with the payload format provided in the code sample section.","operationId":"authentication/access-token","security":[],"responses":{"200":{"description":"Successfully created an access token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse200"},"example":{"access_token":"eyJraWQiOiJjNGE1ZWU1Zi0xYmE2LTQ1N2UtOTI3Yi1lYzdiODliNzcxZTIiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NzkzIiwiaXNzIjoiaHR0cHM6Ly9yZWxvYWRseS1zYW5kYm94LmF1dGgwLmNvbS8iLCJodHRwczovL3JlbG9hZGx5LmNvbS9zYW5kYm94Ijp0cnVlLCJodHRwczovL3JlbG9hZGx5LmNvbS9wcmVwYWlkVXNlcklkIjoiNjc5MyIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsImF1ZCI6Imh0dHBzOi8vZ2lmdGNhcmRzLXNhbmRib3gucmVsb2FkbHkuY29tIiwibmJmIjoxNjU4MDY2NDkxLCJhenAiOiI2NzkzIiwic2NvcGUiOiJkZXZlbG9wZXIiLCJleHAiOjE2NTgxNTI4OTEsImh0dHBzOi8vcmVsb2FkbHkuY29tL2p0aSI6ImIyMmY3MDRmLTJkMWEtNDZjMC1hYjUxLWZkMzAwNWQxNWM0MiIsImlhdCI6MTY1ODA2NjQdjwfbianRpIjoiMWM1ZmY5YTItNzJhMC00ZDg2LWFjZmYtZmU1NDMxNGU0OGQ4In0.P3f-eNbrjFuGHuDKNGjskzifPARaJPRMVS4gGisp0ZA","scope":"developer","expires_in":5184000,"token_type":"Bearer"}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse401"},"example":{"timeStamp":"2022-01-06 10:57:50","message":"Access Denied","path":"/oauth/token","errorCode":"INVALID_CREDENTIALS","infoLink":null,"details":[]}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenRequest"}}}}}},"/accounts/balance":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Account Balance"],"summary":"View Account Balance","description":"Retrieve the details of your account's balance.","operationId":"giftcards/accounts-balance","responses":{"200":{"description":"Successfully retrieved balance details","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse200"},"example":{"balance":6000,"currencyCode":"USD","currencyName":"US Dollar","updatedAt":"2022-02-04 17:45:51"}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse401"},"example":{"timeStamp":"2022-05-11 21:14:00","message":"Full authentication is required to access this resource","path":"/accounts/balance","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse404"},"example":{"timeStamp":"2022-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/accounts/balnce"}}}}}}},"/product-categories":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Categories"],"summary":"Get Categories","description":"Retrieve the details of every gift card category.","operationId":"giftcards/product-categories","responses":{"200":{"description":"Successfully retrieved details of all categories","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCategoriesResponse200"},"example":[{"id":1,"name":"Finance"},{"id":2,"name":"Software"},{},{}]}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCategoriesResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/product-categories","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCategoriesResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/product-categories"}}}}}}},"/countries":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Countries"],"summary":"Get Countries","description":"Retrieve the details of every country where a gift card order can be made.","operationId":"giftcards/get-all-countries","responses":{"200":{"description":"Successfully retrieved details of all countries","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCountriesResponse200"},"example":[{"isoName":"AF","name":"Afghanistan","continent":"Asia","currencyCode":"AFN","currencyName":"Afghan Afghani","currencySymbol":"؋","flag":"https://s3.amazonaws.com/rld-flags/af.svg","callingCodes":["+93"]},{},{}]}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCountriesResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/countries","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllCountriesResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/countrie"}}}}}}},"/countries/{countrycode}":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Countries"],"summary":"Get Country by ISO code","description":"Retrieve the details of a country by making a request with its ISO code.","operationId":"giftcards/get-country-by-iso","parameters":[{"in":"path","name":"countrycode","description":"The country's ISO Code.","required":true,"schema":{"type":"string","example":"US"}}],"responses":{"200":{"description":"Successfully retrieved details of a country","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetCountryByIsoResponse200"},"example":[{"isoName":"AG","name":"Antigua and Barbuda","continent":"North America","currencyCode":"XCD","currencyName":"East Caribbean Dollar","currencySymbol":"XCD","flag":"https://s3.amazonaws.com/rld-flags/ag.svg","callingCodes":["+1268"]}]}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetCountryByIsoResponse401"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/countries/PK","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetCountryByIsoResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Country not found and/or not currently supported","path":"/countries/PKGG","errorCode":"COUNTRY_NOT_SUPPORTED","infoLink":null,"details":[]}}}}}}},"/products":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Products"],"summary":"Get Products","description":"Retrieve the details of every gift card product that can be purchased on Reloadly. Note that a gift card product may have one or more brands attached to it. For example, an Amazon gift card product may have Amazon UK and Amazon US as two brands attached to the Amazon product.","operationId":"giftcards/get-all-products","parameters":[{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of gift card products to be retrieved on a page.","example":10}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the product list being retrieved.","example":1}},{"in":"query","name":"productName","schema":{"type":"string","description":"Indicates the name of the gift card product.","example":"Amazon"}},{"in":"query","name":"countryCode","schema":{"type":"string","description":"Indicates the ISO code of the country whose gift card products are to be retrieved.","example":"US"}},{"in":"query","name":"productCategoryId","schema":{"type":"string","description":"Indicates the unique identifier of the category.","example":2}},{"in":"query","name":"includeRange","schema":{"type":"boolean","description":"Indicates the list of gift card products with the **denominationType** property specified as **RANGE** are to be retrieved.","example":true}},{"in":"query","name":"includeFixed","schema":{"type":"boolean","description":"Indicates the list of gift card products with the **denominationType** property specified as **FIXED** are to be retrieved.","example":true}},{"in":"query","name":"global","schema":{"type":"boolean","description":"This is used to retrieve gift card products that are globally available.","example":true}}],"responses":{"200":{"description":"Successfully retrieved details of all gift card products.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllProductsResponse200"},"example":[{"productId":1,"productName":"1-800-PetSupplies","global":false,"supportsPreOrder":false,"status":"ACTIVE","senderFee":205.29,"senderFeePercentage":1.0,"discountPercentage":7.5,"denominationType":"FIXED","recipientCurrencyCode":"USD","recipientCurrencyToSenderCurrencyExchangeRate":570,"minRecipientDenomination":null,"maxrecipientDenomination":null,"senderCurrencyCode":"NGN","minSenderDenomination":null,"maxSenderDenomination":null,"fixedRecipientDenominations":[25,50],"fixedSenderDenominations":[10264.5,20529],"fixedRecipientToSenderDenominationsMap":[{"25.00":10264.5},{"50.00":20529}],"logoUrls":["https://cdn.reloadly.com/giftcards/5daa2b8b-b1ad-4ca6-a34d-a7ce3c14dfaf.jpg"],"brand":{"brandId":1,"brandName":"1-800-PetSupplies"},"category":{"id":5,"name":"Fashion and Retails"},"country":{"isoName":"US","name":"United States","flagUrl":"https://s3.amazonaws.com/rld-flags/us.svg"},"redeemInstruction":{"concise":"This card is redeemable for merchandise on www.1-800-petsupplies.com","verbose":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."},"additionalRequirements":{"userIdRequired":false}},{},{}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllProductsResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/products","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllProductsResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/product"}}}}}}},"/products/{productid}":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Products"],"summary":"Get Product by ID","description":"Retrieve the details of a giftcard product by making a request with the gift card product's identification number.","operationId":"giftcards/get-product-by-id","parameters":[{"in":"path","name":"productid","description":"The product's identification number.","required":true,"schema":{"type":"integer","example":5}}],"responses":{"200":{"description":"Successfully retrieved details of a gift card product.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIdResponse200"},"example":{"productId":1,"productName":"1-800-PetSupplies","global":false,"senderFee":205.29,"senderFeePercentage":1.0,"status":"ACTIVE","discountPercentage":7.5,"denominationType":"FIXED","recipientCurrencyCode":"USD","recipientCurrencyToSenderCurrencyExchangeRate":570,"minRecipientDenomination":null,"maxrecipientDenomination":null,"senderCurrencyCode":"NGN","minSenderDenomination":null,"maxSenderDenomination":null,"fixedRecipientDenominations":[25,50],"fixedSenderDenominations":[10264.5,20529],"fixedRecipientToSenderDenominationsMap":[{"25.00":10264.5},{"50.00":20529}],"logoUrls":["https://cdn.reloadly.com/giftcards/5daa2b8b-b1ad-4ca6-a34d-a7ce3c14dfaf.jpg"],"brand":{"brandId":1,"brandName":"1-800-PetSupplies"},"category":{"id":5,"name":"Fashion and Retails"},"country":{"isoName":"US","name":"United States","flagUrl":"https://s3.amazonaws.com/rld-flags/us.svg"},"redeemInstruction":{"concise":"This card is redeemable for merchandise on www.1-800-petsupplies.com","verbose":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."},"additionalRequirements":{"userIdRequired":false}}}}},"400":{"description":"Failed because the request was made with an incorrect gift card product identification number.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIdResponse400"},"example":{"timeStamp":"2021-03-15 21:14:00","message":"The product was either not found or is no longer available, Please contact support","path":"/products/1400004","errorCode":null,"infoLink":null,"details":[]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIdResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/products/10","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIdResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","status":404,"error":"Not found","message":"No message available","path":"/product/10","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/countries/{countrycode}/products":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Products"],"summary":"Get Product by ISO Code","description":"Retrieve the details of every giftcard product available to a country by making a request with the country's ISO code.","operationId":"giftcards/get-product-by-iso","parameters":[{"in":"path","name":"countrycode","description":"The ISO code of the country you want to display available gift cards for.","required":true,"schema":{"type":"string","example":"US"}}],"responses":{"200":{"description":"Successfully retrieved details of a gift card product.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIsoResponse200"},"example":{"productId":1,"productName":"1-800-PetSupplies","global":false,"senderFee":205.29,"senderFeePercentage":1.0,"status":"ACTIVE","discountPercentage":7.5,"denominationType":"FIXED","recipientCurrencyCode":"USD","recipientCurrencyToSenderCurrencyExchangeRate":570,"minRecipientDenomination":null,"maxrecipientDenomination":null,"senderCurrencyCode":"NGN","minSenderDenomination":null,"maxSenderDenomination":null,"fixedRecipientDenominations":[25,50],"fixedSenderDenominations":[10264.5,20529],"fixedRecipientToSenderDenominationsMap":[{"25.00":10264.5},{"50.00":20529}],"logoUrls":["https://cdn.reloadly.com/giftcards/5daa2b8b-b1ad-4ca6-a34d-a7ce3c14dfaf.jpg"],"brand":{"brandId":1,"brandName":"1-800-PetSupplies"},"category":{"id":5,"name":"Fashion and Retails"},"country":{"isoName":"US","name":"United States","flagUrl":"https://s3.amazonaws.com/rld-flags/us.svg"},"redeemInstruction":{"concise":"This card is redeemable for merchandise on www.1-800-petsupplies.com","verbose":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."},"additionalRequirements":{"userIdRequired":false}}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIsoResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/countries/US/products","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetProductByIsoResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","message":"Country not found and/or not currently supported","path":"/countries/USG/products","errorCode":"COUNTRY_NOT_SUPPORTED","infoLink":null,"details":[]}}}}}}},"/redeem-instructions":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Redeem Instructions"],"summary":"Get Redeem Instructions","description":"Retrieve the redeem instruction details of every gift card product that can be purchased via Reloadly.","operationId":"giftcards/get-all-redeem-instructions","responses":{"200":{"description":"Successfully retrieved details of all gift card redeem instructions.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllRedeemInstructionsResponse200"},"example":[{"brandId":1,"brandName":"1-800-PetSupplies","concise":"This card is redeemable for merchandise on www.1-800-petsupplies.com","verbose":"Your acceptance of this eCertificate constitutes your agreement to these terms and conditions. This card is redeemable in U.S. only for merchandise on www.1-800-petsupplies.com . Only two eCertificates are redeemable per order. eCertificates cannot be redeemed for cash, except as required by law. Void if altered or reproduced. This gift card is issued in U.S. funds by Tabcom, LLC. When Redeeming online please be sure to enter the entire gift card number including preceding zeros. The maximum number of eCertificates that can be used for phone is nine. By accepting these Terms and Conditions through your use of this Site, you certify that you reside in the United States and are 18 years of age or older. If you are under the age of 18 but at least 14 years of age you may use this Site only under the supervision of a parent or legal guardian who agrees to be bound by these Terms and Conditions."},{},{}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllRedeemInstructionsResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/redeem-instructions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllRedeemInstructionsResponse404"},"example":{"timeStamp":"2021-07-11 11:24:00","status":404,"error":"Not Found","message":"No message available","path":"/redeem-instruction"}}}}}}},"/products/{productId}/redeem-instructions":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Redeem Instructions"],"summary":"Get Redeem Instructions by Product ID","description":"Retrieve the redeem instruction details of a gift card product by making a request with its product ID.","operationId":"get-redeem-instructions-by-product-id","parameters":[{"in":"path","name":"productId","description":"The gift card product's ID.","required":true,"schema":{"type":"integer","example":4}}],"responses":{"200":{"description":"Successfully retrieved redeem instruction details of a gift card product.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetRedeemInstructionsByProductIdResponse200"},"example":{"productId":3245,"productName":"Free Fire 210 + 21 Diamond IN","concise":"Redeem the Free Fire code online at https://shop.garena.sg/app","verbose":"Only Player ID & Nickname is needed for Garena Free Fire Diamonds top-up. You may stay logged in throughout the transaction, once the top-up is completed, you will receive the Diamonds in your Garena Free Fire account. &#13;Please enter your Player ID & Nickname correctly to avoid delay on Diamonds top-up. &#13;Follow these simple steps to get your diamonds by redeeming the Free Fire code online: https://shop.garena.sg/app &#13;-Select Free Fire &#13;-Log into your account either through linked social media or by entering your Player ID. &#13;-Select Garena Voucher &#13;-Enter the code you received from us. &#13;-The diamonds will then be visible in your Free Fire account."}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetRedeemInstructionsByProductIdResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/redeem-instructions/1","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetRedeemInstructionsByProductIdResponse404"},"example":{"timeStamp":"2021-07-11 11:24:00","status":404,"error":"Not Found","message":"No message available","path":"/redeem-instruction/1"}}}}}}},"/fx-rate":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["FX Rates"],"summary":"Fetch FX Rate","description":"Retrieve the foreign exchange rate details of a product by making a request with its product ID.","operationId":"giftcards/fx-rate","parameters":[{"in":"query","name":"currencyCode","schema":{"type":"string","description":"This indicates the code of the currency for which the fx-rate will be fetched.","example":"USD"}},{"in":"query","name":"amount","schema":{"type":"string","description":"Indicates the amount to convert using the fx-rate.","example":"94.99"}}],"responses":{"200":{"description":"Successfully retrieved details of an operator's foreign exchange rate.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse200"},"example":{"senderCurrency":"EUR","senderAmount":88.50978,"recipientCurrency":"USD","recipientAmount":94.99}}}},"400":{"description":"Failed because the request was made to an operator without a foreign exchange rate..","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse400"},"example":{"timeStamp":"2023-12-19 12:12:45","message":"USA","path":"/fx-rate","errorCode":"CURRENCY_NOT_SUPPORTED","infoLink":null,"details":[]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse401"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Full authentication is required to access this resource","path":"/fx-rate","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/FxRateResponse404"},"example":{"timeStamp":"2022-01-06 18:37:10","status":404,"error":"Not Found","message":"No message available","path":"/fx-rate"}}}}}}},"/discounts":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Discounts"],"summary":"Get Discounts","description":"Retrieve the details of all available discounts on gift card products that can be purchased on Reloadly.","operationId":"giftcards/get-all-discounts","parameters":[{"in":"query","name":"size","schema":{"type":"integer","description":"Indicates the number of gift card products offering discounts to be retrieved on a page.","example":50}},{"in":"query","name":"page","schema":{"type":"integer","description":"Indicates the page of the list of gift card products offering discounts.","example":2}}],"responses":{"200":{"description":"Successfully retrieved details of all discounts on gift card products.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllDiscountsResponse200"},"example":[{"product":{"productId":28,"productName":"Apple Music 12 month Canada","countryCode":"CA","global":false},"discountPercentage":2},{},{}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllDiscountsResponse401"},"example":{"timeStamp":"2021-06-09 21:14:00","message":"Full authentication is required to access this resource","path":"/discounts","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllDiscountsResponse404"},"example":{"timeStamp":"2021-06-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/discount"}}}}}}},"/products/{productId}/discounts":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Discounts"],"summary":"Get Discount by Product ID","description":"Retrieve the discount details of a giftcard product by making a request with the product's identification number.","operationId":"giftcards/get-discount-by-product-id","parameters":[{"in":"path","name":"productId","description":"The product's identification number.","required":true,"schema":{"type":"integer","example":5}}],"responses":{"200":{"description":"Successfully retrieved discount details of a gift card product.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetDiscountByProductIdResponse200"},"example":{"product":{"productId":28,"productName":"Apple Music 12 month Canada","countryCode":"CA","global":false},"discountPercentage":2}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetDiscountByProductIdResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/products/10/discounts","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetDiscountByProductIdResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","status":404,"error":"Not found","message":"No message available","path":"/product/10/discount","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/reports/transactions":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Transactions"],"summary":"Get Transactions","description":"Retrieve information on all gift card transactions made on an account.","operationId":"giftcards/get-all-transactions","parameters":[{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of transactions to be retrieved on a page.","example":10}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the transactions list being retrieved.","example":1}},{"in":"query","name":"customIdentifier","schema":{"type":"string","description":"This is the unique reference assigned to the gift card order before it was purchased.","example":"obucks10"}},{"in":"query","name":"startDate","schema":{"type":"string","description":"Indicates the start date for the range of transactions to be retrieved.","example":"2021-06-01 10:00:00"}},{"in":"query","name":"endDate","schema":{"type":"string","description":"Indicates the end date for the range of transactions to be retrieved.","example":"2021-07-20 19:17:02"}}],"responses":{"200":{"description":"Successfully retrieved details of all gift card transactions.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse200"},"example":[{"transactionId":1,"amount":60553.3575,"discount":0,"currencyCode":"NGN","fee":1880.0,"customIdentifier":"obucks3","status":"SUCCESSFUL","product":{"productId":4,"productName":"Amazon Spain","countryCode":"ES","quantity":5,"unitPrice":25,"totalPrice":125,"currencyCode":"EUR","brand":{"brandId":2,"brandName":"Amazon"}},"smsFee":185.76,"totalFee":2065.76,"receipientPhone":34012345678,"recipientEmail":"[email protected]","transactionCreatedTime":"2022-02-28 13:46:00","preOrdered":false,"balanceInfo":{"oldBalance":60582.23641,"newBalance":28.86891,"cost":60553.3575,"currencyCode":"NGN","currencyName":"Nigerian Naira","updatedAt":"2022-02-28 13:46:00"}},{},{}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse401"},"example":{"timeStamp":"2021-07-15 21:14:00","message":"Full authentication is required to access this resource","path":"/reports/transactions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse404"},"example":{"timeStamp":"2021-01-11 11:54:00","message":"Could not retrieve/update resources at the moment, please try again later","path":"/reports/transaction","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/reports/transactions/{transactionId}":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Transactions"],"summary":"Get Transaction by ID","description":"Retrieve information on a gift card transaction by making a request with its transaction identification number.","operationId":"giftcards/get-transaction-by-id","parameters":[{"in":"path","name":"transactionId","schema":{"type":"string","description":"Indicates the identification number of the transaction to be retrieved.","example":2},"required":true}],"responses":{"200":{"description":"Successfully retrieved details of a gift card transaction.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse200"},"example":[{"transactionId":1,"amount":60553.3575,"discount":0,"currencyCode":"NGN","fee":1880.0,"customIdentifier":"obucks3","status":"SUCCESSFUL","product":{"productId":4,"productName":"Amazon Spain","countryCode":"ES","quantity":5,"unitPrice":25,"totalPrice":125,"currencyCode":"EUR","brand":{"brandId":2,"brandName":"Amazon"}},"smsFee":185.76,"totalFee":2065.76,"receipientPhone":34012345678,"recipientEmail":"[email protected]","transactionCreatedTime":"2022-02-28 13:46:00","preOrdered":false,"balanceInfo":{"oldBalance":60582.23641,"newBalance":28.86891,"cost":60553.3575,"currencyCode":"NGN","currencyName":"Nigerian Naira","updatedAt":"2022-02-28 13:46:00"}}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse401"},"example":{"timeStamp":"2021-01-15 21:14:00","message":"Full authentication is required to access this resource","path":"/reports/transactions/12","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse404"},"example":{"timeStamp":"2021-08-11 11:54:00","message":"Could not retrieve/update resources at the moment, please try again later","path":"/reports/transaction/12","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/orders":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"post":{"tags":["Orders"],"summary":"Order Gift Card","description":"Order a gift card product by making a request with its details.","operationId":"giftcards/order-a-gift-card","responses":{"200":{"description":"Successfully ordered a gift card.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/OrderAGiftCardResponse200"},"example":{"transactionId":1,"amount":34536.21,"discount":1709.72,"currencyCode":"NGN","fee":1880.0,"recipientEmail":"[email protected]","customIdentifier":"obucks1dime0","status":"SUCCESSFUL","product":{"productId":1,"productName":"1-800-PetSupplies","countryCode":"PS","quantity":1,"unitPrice":59.99,"totalPrice":59.99,"currencyCode":"USD","brand":{"brandId":6,"brandName":"1-800-PetSupplies"}},"smsFee":185.76,"totalFee":2065.76,"receipientPhone":34012345678,"transactionCreatedTime":"2022-02-28 13:46:00","preOrdered":false,"balanceInfo":{"oldBalance":60582.23641,"newBalance":28.86891,"cost":60553.3575,"currencyCode":"NGN","currencyName":"Nigerian Naira","updatedAt":"2022-02-28 13:46:00"}}}}},"400":{"description":"Failed because the request was made with an incorrect body parameter.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/OrderAGiftCardResponse400"},"example":{"timeStamp":"2021-03-19 21:14:00","message":"Invalid price, please ensure you selected the right price.","path":"/orders","errorCode":null,"infoLink":null,"details":[]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/OrderAGiftCardResponse401"},"example":{"timeStamp":"2021-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/orders","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/OrderAGiftCardResponse404"},"example":{"timeStamp":"2021-02-11 11:54:00","status":404,"error":"Not found","message":"No message available","path":"/order","errorCode":null,"infoLink":null,"details":[]}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderAGiftCardRequest"}}}}}},"/orders/transactions/{transactionId}/cards":{"servers":[{"url":"https://giftcards.reloadly.com","description":"Production"},{"url":"https://giftcards-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Orders"],"summary":"Get Redeem Code","description":"Retrieve redeem-code details for a completed gift card transaction using its transaction ID. This endpoint is versioned via the Accept header. Use application/com.reloadly.giftcards-v2+json for version 2, or application/com.reloadly.giftcards-v1+json for version 1.","operationId":"giftcards/get-a-redeem-code","parameters":[{"in":"path","name":"transactionId","schema":{"type":"integer","description":"Indicates the transaction identification number of the gift card's redeem code to be retrieved.","example":2},"required":true},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/com.reloadly.giftcards-v1+json","application/com.reloadly.giftcards-v2+json"],"example":"application/com.reloadly.giftcards-v2+json"}}],"responses":{"200":{"description":"Successfully retrieved details of a gift card's redeem code.","content":{"application/com.reloadly.giftcards-v2+json":{"schema":{"$ref":"#/components/schemas/GetARedeemCodeResponse200V2"},"example":{"cardNumber":6120200345149064,"pinCode":"EFSDCEAFSD","redemptionUrl":"https://dashboard-stage.swype.cards/activate/verify?redemption-code=XXXXXXXXXXXXXXX"}},"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetARedeemCodeResponse200"},"example":{"cardNumber":6120200345149064,"pinCode":5821}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetARedeemCodeResponse401"},"example":{"timeStamp":"2022-02-14 21:14:00","message":"Full authentication is required to access this resource","path":"/orders/transactions/10/cards","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made with an invalid transaction identification number.","content":{"application/com.reloadly.giftcards-v1+json":{"schema":{"$ref":"#/components/schemas/GetARedeemCodeResponse404"},"example":{"timeStamp":"2021-08-11 11:54:00","message":"Invalid transaction id","path":"/orders/transactions/101/cards","errorCode":null,"infoLink":null,"details":[]}}}}}}}}}},"utilities":{"url":"https://docs.reloadly.com/assets/api/utility-payments.json","sha256":"752c044bdf616fa287246d3c05f0a2eed09b77a3fc7bc2c05bbdc27d958d2bb3","bytes":107766,"model":{"components":{"securitySchemes":{"BearerToken":{"type":"http","scheme":"bearer"}},"schemas":{"AccessTokenRequest":{"type":"object","properties":{"client_id":{"description":"Your account's client identification number.","type":"string","example":"qwcLzXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"client_secret":{"description":"Your account's client secret.","type":"string","example":"7kscVxQZ32-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"grant_type":{"description":"The access type being specified.","type":"string","example":"client_credentials"},"audience":{"description":"The product which the access token is to be used for.","type":"string","example":"https://utilities.reloadly.com"}}},"AccessTokenResponse200":{"type":"object","properties":{"access_token":{"description":"The access token which can be used to make requests to Reloadly's API","type":"string","example":"eyJraXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},"scope":{"description":"The access token's scope","type":"string","example":"developer"},"expires_in":{"description":"This indicates how long the access token is to last ( in seconds ) before expiring","type":"integer","example":5184000},"token_type":{"description":"The type of access token","type":"string","example":"Bearer"}}},"AccessTokenResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the access token was made","type":"string","example":"2022-01-06 10:57:50"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Access Denied"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/oauth/token"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_CREDENTIALS"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":null}}},"AccountsBalanceResponse200":{"type":"object","properties":{"balance":{"description":"The account balance retrieved","type":"number","example":5000.38},"currencyCode":{"description":"The currency abbreviation of the account","type":"string","example":"USD"},"currencyName":{"description":"The currency denomination of the account","type":"string","example":"US Dollar"},"updatedAt":{"description":"The last time a transaction was made on the account","type":"string","example":"2022-02-04 08:45:51"}}},"AccountsBalanceResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the account's balance was made","type":"string","example":"2022-05-11 21:14:00"},"message":{"description":"The error message returned for the failed request","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through","type":"string","example":"/accounts/balance"},"errorCode":{"description":"The error code associated with the reason for the failed request","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request","type":"array","example":[]}}},"AccountsBalanceResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the account's balance was made","type":"string","example":"2021-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made","type":"integer","example":404},"error":{"description":"The error code received after the request was made","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made","type":"string","example":"/account/balance"}}},"GetAllBillersResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every biller accessbile via Reloadly.","items":{"type":"object","properties":{"id":{"description":"This indicates the utility biller's identification number.","type":"integer","example":10},"name":{"description":"This indicates the utility biller's name.","type":"string","example":"Eko Electricity"},"countryCode":{"description":"This indicates the <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\">ISO code</a>  of the biller's country of origin.","type":"string","example":"NG"},"countryName":{"description":"This indicates the name of the biller's country of origin.","type":"string","example":"Nigeria"},"denominationType":{"description":"This indicates if the biller makes payment through a fixed amount or a range of amounts. Options include FIXED and RANGE.","type":"string","example":"RANGE","new":1701820800000},"type":{"description":"This indicates the type of utility payment handled by the biller.","type":"string","example":"ELECTRICITY_BILL_PAYMENT"},"serviceType":{"description":"This indicates the payment service type being rendered by the utility biller service.","type":"string","example":"PREPAID"},"localAmountSupported":{"description":"This indicates if the biller supports transactions made in its country of origin's local currency.","type":"boolean","example":true},"localTransactionCurencyCode":{"description":"This indicates the currency denomination of the biller's country of origin.","type":"string","example":"NGN"},"minLocalTransactionAmount":{"description":"This indicates the lowest amount that can be made in a single transaction through the biller. (Value is measured  in the local currency of the country where the biller is operating in).","type":"number","example":1000},"maxLocalTransactionAmount":{"description":"This indicates the highest amount that can be made in a single transaction through the biller. (Value is measured in the local currency of the country where the biller operates).","type":"number","example":300000},"localTransactionFee":{"description":"This indicates the fee charged per transaction made in the biller's local currency.","type":"number","example":227.87},"localTransactionFeePercentage":{"description":"This indicates the fee charged in percentage per transaction made in the biller's local currency.","type":"number","example":0,"new":1716731220000},"localTransactionFeeCurrencyCode":{"description":"This indicates the currency denomination which the local transaction fee is charged in.","type":"string","example":"NGN"},"localDiscountPercentage":{"description":"This indicates the discount percentage applied to every transaction made in the biller's local currency.","type":"number","example":5},"internationalAmountSupported":{"description":"This indicates if foreign currencies can be used with the biller.","type":"boolean","example":true},"internationalTransactionCurrencyCode":{"description":"This indicates the currency denomination of your account - if its a foreign currency.","type":"string","example":"INR"},"minInternationalTransactionAmount":{"description":"This indicates the lowest amount that can be made in a single transaction if your account uses a foreign currency.","type":"number","example":194.37853},"maxInternationalTransactionAmount":{"description":"This indicates the highest amount that can be made in a single transaction if your account uses a foreign currency.","type":"number","example":5461540.0},"localFixedAmounts":{"description":"This indicates the local fixed amounts that a payment can be made in with the biller.","type":"array","new":1701820800000,"items":{"type":"object","properties":{"id":{"description":"This indicates the fixed amount's identification number. It is to be used as the amountId parameter when making a bill payment request for billers with FIXED denominationType.","type":"integer","example":10,"new":1701820800000},"amount":{"description":"This indicates the amount to be paid.","type":"interger","example":1500,"new":1701820800000},"description":{"description":"This indicates more details of the fixed amount.","type":"string","example":"Canalplus Acces English Plus (18000/1MOIS)","new":1701820800000}}}},"internationalFixedAmounts":{"description":"This indicates the foreign fixed amounts that a payment can be made in with the biller.","type":"array","new":1701820800000,"items":{"type":"object","properties":{"id":{"description":"This indicates the fixed amount's identification number. It is to be used as the amountId parameter when making a bill payment request for billers with FIXED denominationType.","type":"integer","example":10,"new":1701820800000},"amount":{"description":"This indicates the amount to be paid.","type":"interger","example":1500,"new":1701820800000},"description":{"description":"This indicates more details of the fixed amount.","type":"string","example":"Canalplus Acces English Plus (18000/1MOIS)","new":1701820800000}}}},"internationalTransactionFee":{"description":"This indicates the fee charged per transaction made if your account uses a foreign currency.","type":"number","example":227.29},"internationalTransactionFeePercentage":{"description":"This indicates the fee charged in percentage per transaction made if your account uses a foreign currency.","type":"number","example":0,"new":1716731220000},"internationalTransactionFeeCurrencyCode":{"description":"This indicates the currency denomination which the international transaction fee is charged in.","type":"string","example":"INR"},"internationalDiscountPercentage":{"description":"This indicates the fee charged per transaction made if you are using a foreign currency.","type":"number","example":6},"fx":{"description":"This indicates the fee charged per transaction made if your account uses a foreign currency.","type":"object","properties":{"rate":{"description":"This indicates the exchange rate between the biller's currency and your account's currency.","type":"number","example":5.2034},"currencyCode":{"description":"This indicates your account's currency code.","type":"string","example":"INR"}}},"requiresInvoice":{"description":"This indicates if the biller requires an invoice.","type":"boolean","example":true}}}}}},"GetAllBillersResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the billers details was made.","type":"string","example":"2022-03-15 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/billers"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllBillersResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the billers details was made.","type":"string","example":"2021-04-11 13:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/biller"}}},"PayBillRequest":{"type":"object","required":["subscriberAccountNumber","amount","billerId"],"properties":{"subscriberAccountNumber":{"description":"This indicates the account, reference, or card number of the subscriber or recipient of the bill payment.","type":"string","example":"04223568280"},"amount":{"description":"This indicates the amount to be paid.","type":"number","example":1000},"amountId":{"description":"Indicates the unique id for fixed amounts. This is only applicable to billers with fixed denomination type.","type":"number","new":1701820800000},"billerId":{"description":"The biller identifiation number you would have retrieved from the **Get Billers** endpoint.","type":"number","example":5},"useLocalAmount":{"description":"Indicates if the amount being presented is in the local currency of the biller. If this parameter is not provided or is set to false, then the payment will be presented in the user's wallet currency.","type":"boolean","example":false},"referenceId":{"description":"A unique string that you may choose to provide. If you provide one, it will be tied to the transaction. You can query back your transaction with this **referenceId** as well. <br> <br> _Ensure you change the sample custom identifier in the payload before making a request so as to avoid any errors._","type":"string","example":"april-electricity-bill"},"additionalInfo":{"description":"This optional object allows the passage of extra information that may be required by some billers.","type":"object","example":"additionalInfo: {invoiceId: 993GC449433}","new":1701820800000,"properties":{"invoiceId":{"description":"The unique identifier for the invoice. Only applicable to certain <a href='https://developers.reloadly.com/utility-payments/billers-with-additional-requirements#sen-elec-electricity' target='_blank'>billers</a>.","type":"string","new":1701820800000}}}}},"PayBillResponse200":{"type":"object","properties":{"id":{"description":"The unique transaction identification number for this payment.","type":"integer","example":36},"status":{"description":"The current status of the transaction. Possible values are  **PROCESSING**, **SUCCESSFUL**, **FAILED** and **REFUNDED**.","type":"string","example":"PROCESSING"},"referenceId":{"description":"The reference identification used to uniquley identify each utility payment request.","example":"april-electricity-bill"},"code":{"description":"A message code if available. A message code is related to the current processing conditions the transaction is going through.","type":"string","example":"PAYMENT_PROCESSING_IN_PROGRESS"},"message":{"description":"A human friendly message associated with the code if available.","type":"string","example":"The payment is being processed, status will be updated when biller processes the payment."},"submittedAt":{"description":"The time instant at which the payment was submitted to Reloadly.","type":"string","example":"2022-05-18 09:13:53"},"finalStatusAvailabilityAt":{"description":"A SLA promised by Reloadly. A final status for the transaction will be provided at or before this time instant. Most utility payments are successful within seconds.","type":"string","example":"2022-05-19 09:13:52"}}},"PayBillResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the utility payment request was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/pay"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"PayBillResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the utility payment was made.","type":"string","example":"2022-07-15 16:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/pays"}}},"GetAllTransactionsResponse200":{"type":"object","properties":{"content":{"type":"array","description":"An array containing details of every utility payment transaction made on your account.","items":{"type":"object","properties":{"code":{"description":"A code pertaining to the current processing conditions if available.","type":"string","example":"PAYMENT_PROCESSED_SUCCESSFULLY"},"message":{"description":"A descriptive human friendly message related to the code if available.","type":"string","example":"The payment was processed successfully."},"transaction":{"description":"An object that contains details of each transaction.","type":"object","properties":{"id":{"description":"This indicates the unique identification number of the transaction.","type":"integer","example":13},"status":{"description":"This indicates the status of the transaction.","type":"string","example":"SUCCESSFUL"},"referenceId":{"description":"A unique reference identification number you may have inputted while making the transaction.","type":"string","example":"april-electricity-bill"},"amount":{"description":"The transaction amount.","type":"number","example":1000},"amountCurrencyCode":{"description":"The transaction amount currency code.","type":"string","example":"NGN"},"deliveryAmount":{"description":"The final amount to be delivered to the subscriber.","type":"number","example":1000},"deliveryAmountCurrencyCode":{"description":"The delivery amount currency code.","type":"string","example":"NGN"},"fee":{"description":"The transaction fee.","type":"number","example":2.5},"feeCurrencyCode":{"description":"The fee currency code","type":"string","example":"NGN"},"discount":{"description":"The discount or commission earned on the transaction.","type":"number","example":5},"discountCurrencyCode":{"description":"The commission currency code.","type":"string","example":"NGN"},"submittedAt":{"description":"The time instance when the transaction was submitted to Reloadly.","type":"string","example":"2022-03-29 07:04:21"},"balanceInfo":{"description":"Object containing your balance information.","type":"object","properties":{"oldBalance":{"description":"Your account balance before the transaction was placed.","type":"number","example":9997.34912},"newBalance":{"description":"Your account balance after the transaction processes successfully. You are not charged for **FAILED** transactions.","type":"number","example":9994.69824},"cost":{"description":"The cost of the transaction. Your account will be debited by this amount.","type":"number","example":2.65088},"currencyCode":{"description":"The currency code of your account's balance.","type":"string","example":"USD"},"currencyName":{"description":"The currency denomination of your account.","type":"string","example":"US Dollar"},"updatedAt":{"description":"The time instance when your account balance was updated.","type":"string","example":"2022-03-29 11:04:21"}}},"billDetails":{"description":"An object containing your utility bill payment details.","type":"object","properties":{"type":{"description":"The type of the bill payment that was made.","type":"string","example":"ELECTRICITY_BILL_PAYMENT"},"billerId":{"description":"The unique biller identificationn number.","type":"integer","example":2},"billerName":{"description":"The biller name.","type":"string","example":"Abuja Electricity Postpaid"},"billerCountryCode":{"description":"The biller country code.","type":"string","example":"NG"},"serviceType":{"description":"The service type provided by the biller, e.g. **PREPAID** or **POSTPAID**.","type":"string","example":"POSTPAID"},"completedAt":{"description":"The time instance the payment was processed by the biller.","type":"string","example":"2022-03-29 07:04:25"},"subscriberDetails":{"description":"An object containing the subscriber details. A subscriber is an entity who maintains an account with the utility company. The subscriber is the ultimate beneficiary of the utility payment.","type":"object","properties":{"accountNumber":{"description":"The subscriber account number.","type":"string","example":"4223568280"}}},"pinDetails":{"description":"An object containing **PIN** information for **PIN** based services if available/applicable. This is typically present for **PREPAID** services.","type":"object","properties":{"token":{"description":"Indicates the amount deducted from your account for the utility payment.","type":"number","example":1000},"info1":{"description":"Additional PIN related information if available.","type":"string","example":"DIAL *555#"},"info2":{"description":"Additional PIN related information if available.","type":"string","example":"DIAL *555#"},"info3":{"description":"Additional PIN related information if available.","type":"string","example":"DIAL *555#"}}}}}}}}}}}},"GetAllTransactionsResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of transactions was made.","type":"string","example":"2022-01-06 18:37:10"},"message":{"description":"The error message received after the request was made.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/transactions"},"errorCode":{"description":"The error code received after the request was made.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetAllTransactionsResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the list of transactiosn was made.","type":"string","example":"2022-07-15 16:24:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not Found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/transactions"}}},"GetTransactionByIdResponse200":{"type":"object","properties":{"code":{"description":"A code pertaining to the current processing conditions if available.","type":"string","example":"PAYMENT_PROCESSED_SUCCESSFULLY"},"message":{"description":"A descriptive human friendly message related to the code if available.","type":"string","example":"The payment was processed successfully."},"transaction":{"description":"An object that contains details of each transaction.","type":"object","properties":{"id":{"description":"This indicates the unique identification number of the transaction.","type":"integer","example":13},"status":{"description":"This indicates the status of the transaction.","type":"string","example":"SUCCESSFUL"},"referenceId":{"description":"A unique reference identification number you may have inputted while making the transaction.","type":"string","example":"april-electricity-bill"},"amount":{"description":"The transaction amount.","type":"number","example":1000},"amountCurrencyCode":{"description":"The transaction amount currency code.","type":"string","example":"NGN"},"deliveryAmount":{"description":"The final amount to be delivered to the subscriber.","type":"number","example":1000},"deliveryAmountCurrencyCode":{"description":"The delivery amount currency code.","type":"string","example":"NGN"},"fee":{"description":"The transaction fee.","type":"number","example":2.5},"feeCurrencyCode":{"description":"The fee currency code","type":"string","example":"NGN"},"discount":{"description":"The discount or commission earned on the transaction.","type":"number","example":5},"discountCurrencyCode":{"description":"The commission currency code.","type":"string","example":"NGN"},"submittedAt":{"description":"The time instance when the transaction was submitted to Reloadly.","type":"string","example":"2022-03-29 07:04:21"},"balanceInfo":{"description":"Object containing your balance information.","type":"object","properties":{"oldBalance":{"description":"Your account balance before the transaction was placed.","type":"number","example":9997.34912},"newBalance":{"description":"Your account balance after the transaction processes successfully. You are not charged for **FAILED** transactions.","type":"number","example":9994.69824},"cost":{"description":"The cost of the transaction. Your account will be debited by this amount.","type":"number","example":2.65088},"currencyCode":{"description":"The currency code of your account's balance.","type":"string","example":"USD"},"currencyName":{"description":"The currency denomination of your account.","type":"string","example":"US Dollar"},"updatedAt":{"description":"The time instance when your account balance was updated.","type":"string","example":"2022-03-29 11:04:21"}}},"billDetails":{"description":"An object containing your utility bill payment details.","type":"object","properties":{"type":{"description":"The type of the bill payment that was made.","type":"string","example":"ELECTRICITY_BILL_PAYMENT"},"billerId":{"description":"The unique biller identificationn number.","type":"integer","example":2},"billerName":{"description":"The biller name.","type":"string","example":"Abuja Electricity Postpaid"},"billerCountryCode":{"description":"The biller country code.","type":"string","example":"NG"},"serviceType":{"description":"The service type provided by the biller, e.g. **PREPAID** or **POSTPAID**.","type":"string","example":"POSTPAID"},"completedAt":{"description":"The time instance the payment was processed by the biller.","type":"string","example":"2022-03-29 07:04:25"},"subscriberDetails":{"description":"An object containing the subscriber details. A subscriber is an entity who maintains an account with the utility company. The subscriber is the ultimate beneficiary of the utility payment.","type":"object","properties":{"accountNumber":{"description":"The subscriber account number.","type":"string","example":"4223568280"}}},"pinDetails":{"description":"An object containing **PIN** information for **PIN** based services if available/applicable. This is typically present for **PREPAID** services.","type":"object","properties":{"token":{"description":"Indicates the amount deducted from your account for the utility payment.","type":"number","example":1000},"info1":{"description":"Additional PIN related information if available.","type":"string","example":"DIAL *555#"},"info2":{"description":"Additional PIN related information if available.","type":"string","example":"DIAL *555#"},"info3":{"description":"Additional PIN related information if available.","type":"string","example":"DIAL *555#"}}}}}}}}},"GetTransactionByIdResponse401":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2022-05-11 21:14:00"},"message":{"description":"The error message returned for the failed request.","type":"string","example":"Full authentication is required to access this resource"},"path":{"description":"The URL Path which the request was made through.","type":"string","example":"/transactions/8"},"errorCode":{"description":"The error code associated with the reason for the failed request.","type":"string","example":"INVALID_TOKEN"},"infoLink":{"description":"A link to further information about the error.","type":"string","example":null},"details":{"description":"Further details of the error returned for the failed request.","type":"array","example":[]}}},"GetTransactionByIdResponse404":{"type":"object","properties":{"timeStamp":{"description":"The exact time the request for the transaction details was made.","type":"string","example":"2022-09-11 11:54:00"},"status":{"description":"The HTTP status code returned after the request was made.","type":"integer","example":404},"error":{"description":"The error code received after the request was made.","type":"string","example":"Not found"},"message":{"description":"The error message received after the request was made.","type":"string","example":"No message available"},"path":{"description":"The URL path to which the request was made.","type":"string","example":"/transaction/8"}}}}},"paths":{"/oauth/token":{"servers":[{"url":"https://auth.reloadly.com"}],"post":{"tags":["Authentication"],"summary":"Create Access Token","description":"Reloadly employs the <a href=\"https://oauth.net/2/\" target=__blank__> OAuth 2.0 standard</a>.Note that all API requests must be made over <a href='https://en.wikipedia.org/wiki/HTTP_Secure'>HTTPS</a>. Calls made over plain HTTP will fail. API requests without authentication will also fail. <br><br> To get an access token, first obtain your **client id** and **client secret** from the Reloadly dashboard. Remember to toggle between **LIVE** mode and **TEST** mode on the dashboard sidebar to select the appropriate **client id** and **client secret**. <br><br> After selecting the appropriate client credentials for the environment you want to work with, make a **POST** request with the payload format provided in the code sample section. ","operationId":"authentication/access-token","security":[],"responses":{"200":{"description":"Successfully created an access token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse200"},"example":{"access_token":"eyJraWQiOiJjNGE1ZWU1Zi0xYmE2LTQ1N2UtOTI3Yi1lYzdiODliNzcxZTIiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NzkzIiwiaXNzIjoiaHR0cHM6Ly9yZWxvYWRseS1zYW5kYm94LmF1dGgwLmNvbS8iLCJodHRwczovL3JlbG9hZGx5LmNvbS9zYW5kYm94Ijp0cnVlLCJodHRwczovL3JlbG9hZGx5LmNvbS9wcmVwYWlkVXNlcklkIjoiNjc5MyIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsImF1ZCI6Imh0dHBzOi8vZ2lmdGNhcmRzLXNhbmRib3gucmVsb2FkbHkuY29tIiwibmJmIjoxNjU4MDY2NDkxLCJhenAiOiI2NzkzIiwic2NvcGUiOiJkZXZlbG9wZXIiLCJleHAiOjE2NTgxNTI4OTEsImh0dHBzOi8vcmVsb2FkbHkuY29tL2p0aSI6ImIyMmY3MDRmLTJkMWEtNDZjMC1hYjUxLWZkMzAwNWQxNWM0MiIsImlhdCI6MTY1ODA2NjQdjwfbianRpIjoiMWM1ZmY5YTItNzJhMC00ZDg2LWFjZmYtZmU1NDMxNGU0OGQ4In0.P3f-eNbrjFuGHuDKNGjskzifPARaJPRMVS4gGisp0ZA","scope":"developer","expires_in":5184000,"token_type":"Bearer"}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse401"},"example":{"timeStamp":"2022-01-06 10:57:50","message":"Access Denied","path":"/oauth/token","errorCode":"INVALID_CREDENTIALS","infoLink":null,"details":[]}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenRequest"}}}}}},"/accounts/balance":{"servers":[{"url":"https://utilities.reloadly.com","description":"Production"},{"url":"https://utilities-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Account Balance"],"summary":"View Account Balance","description":"Retrieve the details of your account's balance.","operationId":"utilitypayments/accounts-balance","responses":{"200":{"description":"Successfully retrieved balance details","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse200"},"example":{"balance":5000,"currencyCode":"USD","currencyName":"US Dollar","updatedAt":"2021-12-04 08:45:51"}}}},"401":{"description":"Failed due to an unauthorized request","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse401"},"example":{"timeStamp":"2021-05-11 21:14:00","message":"Full authentication is required to access this resource","path":"/accounts/balance","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/AccountsBalanceResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/accounts/balnce"}}}}}}},"/billers":{"servers":[{"url":"https://utilities.reloadly.com","description":"Production"},{"url":"https://utilities-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Utility Billers"],"summary":"Get Billers","description":"Retrieve the details of every utility payment service / biller you can access via Reloadly.","operationId":"utilitypayments/get-all-billers","parameters":[{"in":"query","name":"id","schema":{"type":"integer","description":"This is the unique identification number of each biller. It uniquely identifies the biller servicing the utility.","example":12}},{"in":"query","name":"name","schema":{"type":"string","description":"This indicates the biller's name. In situations where the biller's name is exceptionally long, partial names are used.","example":"Eko Electricity"}},{"in":"query","name":"type","schema":{"type":"string","description":"This indicates the type of utility payment handled by the biller. Values included are **ELECTRICITY_BILL_PAYMENT**, **WATER_BILL_PAYMENT**, **TV_BILL_PAYMENT** and **INTERNET_BILL_PAYMENT**.","example":"ELECTRICITY_BILL_PAYMENT"}},{"in":"query","name":"serviceType","schema":{"type":"string","description":"This indicates the payment service type being rendered by the utility biller service. Examples are **PREPAID** and **POSTPAID**.","example":"PREPAID"}},{"in":"query","name":"countryISOCode","schema":{"type":"string","description":"This indicates the <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\">ISO code</a> of the country where the utility biller is operating in.","example":"KE"}},{"in":"query","name":"page","schema":{"type":"integer","description":"This indicates the page of the billers list being retrieved. Default value is 1.","example":1}},{"in":"query","name":"size","schema":{"type":"integer","description":"This indicates the number of billers to be retrieved on a page. Default value is 20.","example":10}}],"responses":{"200":{"description":"Successfully retrieved details of all billers.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllBillersResponse200"},"example":{"content":[{"id":1,"name":"Ikeja Electricity Postpaid","countryIsoCode":"NG","type":"ELECTRICITY_BILL_PAYMENT","serviceType":"POSTPAID","localAmountSupported":true,"localTransactionCurrencyCode":"NGN","minLocalTransactionAmount":1000,"maxLocalTransactionAmount":300000,"localTransactionFee":227.83997,"localTransactionFeeCurrencyCode":"NGN","localTransactionFeePercentage":0,"localDiscountPercentage":0,"internatonalAmountSupported":true,"internationalTransactionCurrencyCode":"INR","minInternationalTransactionAmount":194.73483,"maxInternationalTransactionAmount":45567.996,"internationalTransactionFee":227.83997,"internationalTransactionFeePercentage":0,"internationalTransactionFeeCurrencyCode":"INR","internationalDiscountPercentage":0,"requiresInvoice":true,"fx":[{"rate":5.20265},{"curencyCode":"INR"}]},{},{}]}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllBillersResponse401"},"example":{"timeStamp":"2022-03-15 21:14:00","message":"Full authentication is required to access this resource","path":"/billers","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllBillersResponse404"},"example":{"timeStamp":"2022-03-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/biller"}}}}}}},"/pay":{"servers":[{"url":"https://utilities.reloadly.com","description":"Production"},{"url":"https://utilities-sandbox.reloadly.com","description":"Sandbox"}],"post":{"tags":["Pay Bill"],"summary":"Pay Bill","description":"Make a utility payment with a biller. A payment is synonymous to a transaction.","operationId":"utilitypayments/pay-bill","responses":{"200":{"description":"Successfully made a utility payment.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/PayBillResponse200"},"example":{"id":36,"status":"PROCESSING","referenceId":"4a391847-n193-22k8-wqkl-9h3s7428m036","code":"PAYMENT_PROCESSING_IN_PROGRESS","message":"The payment is being processed, status will be updated when biller processes the payment.","submittedAt":"2022-05-18 09:13:53","finalStatusAvailabilityAt":"2022-05-19 09:13:52"}}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/PayBillResponse401"},"example":{"timeStamp":"2022-01-06 18:37:10","message":"Full authentication is required to access this resource","path":"/pay","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/PayBillResponse404"},"example":{"timeStamp":"2021-09-11 11:54:00","status":404,"error":"Not Found","message":"No message available","path":"/pays"}}}}},"requestBody":{"description":"Payload Description","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayBillRequest"}}}}}},"/transactions":{"servers":[{"url":"https://utilities.reloadly.com","description":"Production"},{"url":"https://utilities-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Transactions"],"summary":"Get Transactions","description":"Retrieve information on all utility payment transactions made on your account. Results can be paginated for your convenience.","operationId":"utilitypayments/get-all-transactions","parameters":[{"in":"query","name":"referenceId","schema":{"type":"string","description":"The reference ID you may have specified while placing the transaction.","example":"april-electricity-bill"},"required":false},{"in":"query","name":"page","schema":{"type":"integer","description":"The page to be retrieved from the transaction list.","example":10},"required":false},{"in":"query","name":"size","schema":{"type":"integer","description":"Number of items to include in a single page.","example":1},"required":false},{"in":"query","name":"startDate","schema":{"type":"string","description":"Indicates the start date for the range of transactions to be retrieved.","example":"2021-06-01 00:00:00"},"required":false},{"in":"query","name":"endDate","schema":{"type":"string","description":"Indicates the end date for the range of transactions to be retrieved.","example":"2022-06-01 10:00:00"},"required":false},{"in":"query","name":"status","schema":{"type":"string","description":"The transaction's status. Can be either **PROCESSING**, **SUCCESSFUL**, **FAILED**, or **REFUNDED**.","example":"PROCESSING"},"required":false},{"in":"query","name":"serviceType","schema":{"type":"string","description":"The biller's service type. Can be either **PREPAID** or **POSTPAID**.","example":"PREPAID"},"required":false},{"in":"query","name":"billerType","schema":{"type":"string","description":"The biller's type. Can be either **ELECTRICITY_BILL_PAYMENT**, **WATER_BILL_PAYMENT**, **TV_BILL_PAYMENT**, or **INTERNET_BILL_PAYMENT**","example":"ELECTRICITY_BILL_PAYMENT"},"required":false},{"in":"query","name":"billerCountryCode","schema":{"type":"string","description":"Indicates the <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\">ISO code</a> of the country where the biller is located.","example":"SN"},"required":false}],"responses":{"200":{"description":"Successfully retrieved details of all utility payment transactions.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse200"},"example":[{"code":"PAYMENT_PROCESSED_SUCCESSFULLY","message":"The payment was processed successfully","transaction":{"id":33732,"status":"SUCCESSFUL","referenceId":"april-electricity-bill","amount":1000.0,"amountCurrencyCode":"XOF","deliveryAmount":1000.0,"deliveryAmountCurrencyCode":"XOF","fee":0.0,"feeCurrencyCode":"USD","discount":0.0,"discountCurrencyCode":"USD","submittedAt":"2023-09-05 23:36:58","balanceInfo":{"oldBalance":36.96433,"newBalance":35.12964,"cost":1.83469,"currencyCode":"USD","currencyName":"US Dollar","updatedAt":"2023-09-06 03:34:57"},"billDetails":{"type":"ELECTRICITY_BILL_PAYMENT","billerId":26,"billerName":"Woyofal Senegal","billerCountryCode":"SN","billerReferenceId":"T_QKTBYLMGPA","serviceType":"PREPAID","completedAt":"2023-09-05 23:37:14","subscriberDetails":{"invoiceId":null,"accountNumber":"14414354515"},"pinDetails":{"token":"2737-6032-5315-7183-0856","info1":"10.7 kWh","info2":null,"info3":null}}}},{},{}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse401"},"example":{"timeStamp":"2022-07-15 21:14:00","message":"Full authentication is required to access this resource","path":"/transactions","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetAllTransactionsResponse404"},"example":{"timeStamp":"2021-01-11 11:54:00","message":"Could not retrieve/update resources at the moment, please try again later","path":"/transaction","errorCode":null,"infoLink":null,"details":[]}}}}}}},"/transactions/{id}":{"servers":[{"url":"https://utilities.reloadly.com","description":"Production"},{"url":"https://utilities-sandbox.reloadly.com","description":"Sandbox"}],"get":{"tags":["Transactions"],"summary":"Get Transaction by ID","description":"Retrieve the details of a utility payment by making a request with the payment's identification number.","operationId":"utilitypayments/get-transaction-by-id","parameters":[{"in":"path","name":"id","description":"The utility payment's identification number.","required":true,"schema":{"type":"integer","example":10}}],"responses":{"200":{"description":"Successfully retrieved details of a utility payment.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse200"},"example":[{"code":"PAYMENT_PROCESSED_SUCCESSFULLY","message":"The payment was processed successfully","transaction":{"id":33732,"status":"SUCCESSFUL","referenceId":"wwklmddleeqfnee9re0080","amount":1000.0,"amountCurrencyCode":"XOF","deliveryAmount":1000.0,"deliveryAmountCurrencyCode":"XOF","fee":0.0,"feeCurrencyCode":"USD","discount":0.0,"discountCurrencyCode":"USD","submittedAt":"2023-09-05 23:36:58","balanceInfo":{"oldBalance":36.96433,"newBalance":35.12964,"cost":1.83469,"currencyCode":"USD","currencyName":"US Dollar","updatedAt":"2023-09-06 03:34:57"},"billDetails":{"type":"ELECTRICITY_BILL_PAYMENT","billerId":26,"billerName":"Woyofal Senegal","billerCountryCode":"SN","billerReferenceId":"T_QKTBYLMGPA","serviceType":"PREPAID","completedAt":"2023-09-05 23:37:14","subscriberDetails":{"invoiceId":null,"accountNumber":"14414354515"},"pinDetails":{"token":"2737-6032-5315-7183-0856","info1":"10.7 kWh","info2":null,"info3":null}}}}]}}},"401":{"description":"Failed due to an unauthorized request.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse401"},"example":{"timeStamp":"2022-02-15 21:14:00","message":"Full authentication is required to access this resource","path":"/transactions/17","errorCode":"INVALID_TOKEN","infoLink":null,"details":[]}}}},"404":{"description":"Failed because the request was made to an incorrect URL path.","content":{"application/com.reloadly.utilities-v1+json":{"schema":{"$ref":"#/components/schemas/GetTransactionByIdResponse404"},"example":{"timeStamp":"2022-02-11 11:54:00","status":404,"error":"Not found","message":"No message available","path":"/transactions/17","errorCode":null,"infoLink":null,"details":[]}}}}}}}}}}}}