Create a new transaction
POST/api/v2/transactions
Creates a new payment transaction and returns a checkout URL for the customer to complete payment.
Rate Limit: 100 requests per 60 seconds
Requirements:
- Valid API key with Bearer authentication
- Organization must be active
- At least one payment method must be specified
- At least one product must be included
- Total amount must be greater than 10 XOF
Behavior:
- Generates a unique
order_idfor tracking - Creates a checkout URL at
https://checkout.naboopay.com/checkout/{order_id} - Default success/error URLs are provided if not specified
- URLs must be valid HTTP/HTTPS URLs
Supported Payment Methods: wave, orange_money, yas, bank, visa, master_card
Request
Responses
- 200
- 400
- 401
- 429
- 500
Transaction created successfully. Returns the transaction details with checkout URL.
Bad request. Possible reasons:
- Invalid request body format
- No payment methods specified
- No products specified
- Total amount is 10 XOF or less
- Invalid success_url or error_url format
Unauthorized. Possible reasons:
- Missing or invalid API key
- Organization is not active
Rate limit exceeded. Wait before making more requests.
Internal server error. Contact support if this persists.