/payment/createCreate Payment
operationId: createPaymentV2
Initiates a payment transaction. The request structure varies by payment_method.
Required headers
Request body
Example variants
Responses
| 200 | Payment create response | |
| 400 | Error response | |
| 401 | Error response | |
| 500 | Error response |
curl -X POST https://devsilo.xyz/api/v2/payment/create \
-H "merchant-token: $SLIKAIR_MERCHANT_TOKEN" \
-H "Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000" \
-H "Content-Type: application/json" \
-d '{
"merchant_id": "9e07802d51264b02b4b3ef09dfb94219",
"merchant_site_id": "1234",
"payment_method": "credit_card",
"device_ip": "203.0.113.10",
"amount": 99.99,
"currency": "EUR",
"email": "john.doe@example.com",
"request_id": "order-1001",
"country": "NLD",
"first_name": "John",
"last_name": "Doe",
"notification_link": "https://example.com/webhook",
"success_url": "https://example.com/success",
"pending_url": "https://example.com/pending",
"fail_url": "https://example.com/fail",
"back_url": "https://example.com/cart",
"mobile": "+31600000000",
"address": "Main Street 1",
"city": "Amsterdam",
"zipCode": "1011AB",
"state": "NH",
"birthDate": "1990-01-01",
"cardNum": "4111111111111111",
"cardHolder": "John Doe",
"cardExpireMonth": "12",
"cardExpireYear": "2030",
"cardCvv": "123"
}'