Payment Intents
Create payment forms
post/api/v1/PaymentIntents
Request
- Base URL: https://api.payex.io
- URL: https://api.payex.io/api/v1/PaymentIntents
- Auth: HTTP bearer
Request body
Example request
[
{
"amount": 1000,
"currency": "MYR",
"items": [
{
"product_id": 1,
"product_name": "test product",
"price": 10,
"weight": 5
}
],
"metadata": {
"id": 1,
"color": "blue"
},
"expiry_date": "yyyy-MM-ddTHH:mm:ssZ",
"splits": [
{
"amount": 1000,
"destination": "contact@payex.io",
"type": "platform",
"description": "Platform commission fees"
}
]
}
]Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.