Request Snippet
cURL CLI
curl -X POST https://zer0-gateway-production-eneime.laravel.cloud/v1/payments \
-H "Authorization: Bearer sk_test_YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Idempotency-Key: idemp_order_1001" \
-d '{
"amount": 250.00,
"currency": "PHP",
"reference_id": "ORDER-1001",
"description": "Payment for Order #1001",
"metadata": {
"customer_email": "buyer@example.com"
}
}'
Sample Response
201 Created
{
"data": {
"id": "pay_01j7abc123456789xyz",
"object": "payment",
"status": "pending",
"amount": 25000,
"payable_amount": 25014,
"currency": "PHP",
"description": "Payment for Order #1001",
"reference_id": "ORDER-1001",
"checkout_url": "https://zer0-gateway-production-eneime.laravel.cloud/pay/chk_01j7abc123456789xyz",
"qr_string": "00020101021228150011ph.ppmi.p2m...",
"metadata": {
"customer_email": "buyer@example.com"
},
"paid_at": null,
"expires_at": "2026-09-29T18:45:00.000000Z",
"created_at": "2026-09-29T18:00:00.000000Z"
}
}