POST
/
collect
curl --request POST \
  --url https://api.pay.staging.mynkwa.com/collect \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "amount": 1000,
  "phoneNumber": "237650000000"
}'
{
  "amount": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "currency": "<string>",
  "description": "<string>",
  "fee": 123,
  "id": "<string>",
  "merchantId": 123,
  "paymentType": "collection",
  "phoneNumber": "<string>",
  "status": "pending",
  "telecomOperator": "mtn",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

201
application/json

Collection request created and pending

The response is of type object.