cURL
curl --request POST \ --url https://api.fenanpay.com/api/v1/payment/intent \ --header 'Content-Type: application/json' \ --header 'apiKey: <api-key>' \ --data '{ "amount": 123, "items": [ { "name": "<string>", "description": "<string>", "image": "<string>", "quantity": 2, "type": "SERVICE", "price": 123 } ], "currency": "USD", "paymentIntentUniqueId": "<string>", "methods": [ "TELE_BIRR" ], "splitPayment": [ { "amount": 123, "bank": "<string>", "splitType": "PERCENTAGE", "creditAccount": "<string>" } ], "returnUrl": "<string>", "expireIn": 31, "callbackUrl": "<string>", "commissionPaidByCustomer": true, "customerInfo": { "email": "<string>", "phone": "<string>", "name": "<string>" } }'
{ "status": 123, "message": "<string>", "content": {} }
USD
ETB
Show child attributes
x >= 30
OK