POST
/
api
/
v1
/
payment
/
sandbox
/
intent
curl --request POST \
  --url https://api.fenanpay.com/api/v1/payment/sandbox/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": {}
}

Authorizations

apiKey
string
header
required

Body

application/json

Response

200
application/json

OK

The response is of type object.