NyukiAIPayment

Documentation

Take your first payment.

Everything below is the real contract: the routes, the statuses, the failure codes, and the rules a correct integration follows.

Your first call

curl https://secure.nyukiai.com/v1/payment_intents \
  -H "Authorization: Bearer nyk_sk_test_4f2a9c1e8b7d6053" \
  -H "Idempotency-Key: 9f2c1e44-7b21-4c0e-93a1-2f7c8d5e1a0b" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "500000",
    "currency": "XAF",
    "country": "CM",
    "methodType": "MOBILE_MONEY",
    "reference": "order-4471",
    "providerParams": { "msisdn": "237699000000" }
  }'
{
  "id": "pi_01JAY2K5RQ9M3W7ZB8XF4TC6VD",
  "object": "payment_intent",
  "status": "REQUIRES_CONFIRMATION",
  "amount": "500000",
  "currency": "XAF",
  "country": "CM",
  "methodType": "MOBILE_MONEY",
  "provider": null,
  "flowKind": null,
  "reference": "order-4471",
  "description": null,
  "nextAction": null,
  "lastPaymentError": null,
  "expiresAt": 1785869300000,
  "created": 1785869000000,
  "clientSecret": "pi_01JAY2K5RQ_secret_8f2a4cQ1wZ"
}
Base URL
https://secure.nyukiai.com
Authorization header
Bearer nyk_sk_test_…
Send on every write
Idempotency-Key

Everything else