POST
/
payments
/
v1
/
payments
/
direct-charge
curl --request POST \
  --url https://sandbox-api.payfonte.com/payments/v1/payments/direct-charge \
  --header 'Content-Type: application/json' \
  --header 'client-id: <api-key>' \
  --header 'client-secret: <api-key>' \
  --data '{
  "provider": "airtel-smartcash-ng",
  "amount": 100000,
  "reference": "<string>",
  "customerInput": {
    "phoneNumber": "2347012345678"
  },
  "webhook": "https://example.com/webhook"
}'
{
  "data": {
    "reference": "<string>",
    "status": "<string>",
    "sessionId": "<string>",
    "amount": 100000
  }
}

Authorizations

client-id
string
header
required
client-secret
string
header
required

Body

application/json

Response

201 - application/json

Request Submitted Successfully

The response is of type object.