curl --location 'https://api-vltzpay.beespokedev.com/api/v1.0/payments' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "app_your_provisioned_key",
"reference": "order_01J7Y9KZM2KCG6TAVQT4G31PW7",
"amount": 1499.5,
"currency": "PHP",
"method": "gcash",
"description": "VLTZ Pro subscription",
"successUrl": "https://merchant.example/payments/success",
"cancelUrl": "https://merchant.example/payments/cancelled",
"failedUrl": "https://merchant.example/payments/failed",
"callbackUri": "https://merchant.example/api/payment-events",
"billing": {
"firstName": "Juan",
"lastName": "Dela Cruz",
"email": "juan@example.com"
}
}'{
"success": true,
"response": {
"payment": {
"id": 42,
"internalReference": "order_01J7Y9KZM2KCG6TAVQT4G31PW7",
"providerReference": "provider_payment_123",
"amount": "1499.50",
"currency": "PHP",
"status": "REQUIRES_ACTION",
"paymentMethod": "GCASH",
"items": [],
"failureReason": null
},
"checkout": {
"redirectUrl": "https://provider.example/checkout/session_123"
},
"provider": {
"code": "XENDIT",
"status": "REQUIRES_ACTION",
"message": "Customer action is required."
}
}
}