Developers
The payment API your developers will love
A consistent, predictable REST API: clear resources, explicit errors, signed webhooks and a complete test environment. Go from first call to production in a day.
# Create a payment
curl https://api.nexet.io/v1/payments \
-u sk_test_4dLm…: \
-H "Idempotency-Key: ord-1042" \
-d amount=284700 \
-d currency="USD" \
-d description="Commande #1042" \
-d return_url="https://maboutique.ma/retour"
{
"id": "pay_3jF8dK2m",
"status": "requires_action",
"next_action": "redirect_to_3ds",
"amount": 284700,
"currency": "USD"
}Everything you need for a clean integration
Solid foundations to build with confidence, from the first test to scale.
Test environment
Unlimited sandbox with simulation cards for every scenario: success, decline, 3-D Secure, dispute.
Signed webhooks
Every event is signed (HMAC) and replayable from the dashboard. Guaranteed delivery with exponential retries.
Idempotency
Send an Idempotency-Key on your creations: no double payments, even on a network retry.
Explicit errors
Documented error codes and actionable messages, with the request identifier for support.
Keys and roles
Public/secret keys separated per environment, rotation without downtime and per-team-member permissions.
API log
All your requests and responses viewable in the dashboard to debug in seconds.
Live in 3 steps
- 01
Create a sandbox account
Get your test keys right away, with no documents and no commitment.
- 02
Integrate and test
Hosted checkout, direct API or e-commerce module: validate every scenario with the test cards.
- 03
Go live
Once your merchant account is approved, swap your test keys for live keys. That's it.