View Categories

List of Services

1 min read

To test the API services, generate an API key from your partner space in the RichattPay application.

Once you have obtained this key, insert it into a GET request to access your services via the following URL:

https://preprod-partner.richattpay.com/api-services/v1/services

Headers

Parameter NameValueMendatoryDescription
apikeyStringYesyour API key (provided by RichattPay)

By sending this request, the partner can obtain the details of the services to which they have access. This includes information about each service.

Example of successful response

{ 
    "succes": true, 
    "services": [ 
        { 
            "name": "SEDAD_WALLET_CASH_IN", 
            "icone": "https://richattpay-api.s3.amazonaws.com/icons/bankily.png", 
            "codeService": "SEDAD_WALLET_CASH_IN", 
            "typeOperation": "CREDIT", 
            "typeService": "CASHIN" 
        }, 
        { 
            "name": "BANKILY_WALLET_CASH_IN", 
            "icone": "BANKILY", 
            "codeService": "BANKILY_WALLET_CASH_IN", 
            "typeOperation": "CREDIT", 
            "typeService": "CASHIN" 
        }, 
        { 
            "name": "MASRVI_WALLET_CASH_IN", 
            "icone": "https://richattpay-api.s3.amazonaws.com/icons/bankily.png", 
            "codeService": "MASRVI_WALLET_CASH_IN", 
            "typeOperation": "CREDIT", 
            "typeService": "CASHIN" 
        }, 
        { 
            "name": "BPM_BANK_CACH_IN", 
            "icone": "BPM", 
            "codeService": "BPM_BANK_CACH_IN", 
            "typeOperation": "DEBIT", 
            "typeService": "CASHIN" 
        } 
    ] 
}
 

Examples of error response

Status(403)

{"error":" The API key is missing or expired"} 

Status(500)

{"error":"An error occurred. Please try again later "}