cURL
curl --request POST \ --url https://api.lygosapp.com/v1/gateway \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data ' { "amount": 5000, "shop_name": "Mon Magasin", "message": "Paiement pour commande #12345", "success_url": "https://monsite.com/paiement-reussi", "failure_url": "https://monsite.com/paiement-echoue", "order_id": "CMD-2024-001" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "amount": 123, "currency": "<string>", "shop_name": "<string>", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "creation_date": "2023-11-07T05:31:56Z", "link": "<string>", "message": "", "order_id": "", "success_url": "", "failure_url": "" }
Successful Response