Test de connexion à l'API DBS

Test de connexion à : https://sduat1.dbs-africa.com:6443

Code HTTP : 404

Erreur : Aucune

✅ Connexion réussie au serveur DBS

Test de l'API avec une requête POST

URL: https://sduat1.dbs-africa.com:6443/api/payment
Données envoyées:
Array
(
    [apikey] => 2024021421288766116463c3d6c5f5c3.49331505241291abj
    [site_id] => 100024
    [transaction_id] => TEST_20260623102737
    [amount] => 1.00
    [currency] => EUR
    [description] => Test connection
    [notify_url] => https://payment-module.madagascar-design.com/api/notify.php
    [return_url] => https://payment-module.madagascar-design.com/frontoffice/payment.php?status=return
    [channels] => Array
        (
            [0] => CARD
        )

    [lang] => en
    [customer_name] => John
    [customer_surname] => Doe
    [customer_country] => FR
    [customer_email] => test@example.com
)

Code HTTP : 400

Erreur : Aucune

Réponse de l'API :

Array
(
    [type] => https://tools.ietf.org/html/rfc7231#section-6.5.1
    [title] => One or more validation errors occurred.
    [status] => 400
    [traceId] => 00-282591f9d46ef4c34f40aaf4afcb5bed-88f2138b742813b3-00
    [errors] => Array
        (
            [customer_city] => Array
                (
                    [0] => The customer_city field is required.
                )

            [customer_address] => Array
                (
                    [0] => The customer_address field is required.
                )

        )

)