curl --location --request POST '/v2/payments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchant_reference": "order_12345",
"merchant_meta": {
"customer_id": "cust_789",
"order_type": "retail"
},
"amount": 5000,
"currency": "USD",
"description": "Premium Subscription - Annual",
"payment_method": {
"type": "card",
"data": "tbjH0nx6WaEkzHOjgw2crsusmVBuL8s+PxWFqYb5cWZ3k1VpR7KmN9wXyC2zQ4..."
},
"billing_address": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"address_line_one":"Apt 5B",
"address_line_two":"245 West 72nd Street",
"country": "US",
"city": "New York",
"state": "NY"
"zip": "10023"
},
"ip_address": "203.0.113.42",
"redirect_url": "https://yoursite.com/payment/callback",
"webhook_url": "https://yoursite.com/webhooks/payment",
"enable_3ds": false
}'