curl --request POST \
--url http://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>",
"paymentLinkUniqueId": "<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>"
}
}'