{
"amount": 100,
"currency": "USD",
"merchant_order_id": "bdaf311331",
"invoice_id": "inv_1023H3CQ81800",
"mandate_data": {
"customer_acceptance": {
"type": "online",
"accepted_at": "2024-10-06T10:56:21Z",
"online": {
"ip_address": "192.168.12.1",
"user_agent": "user agent"
}
}
}
}
curl --location --request POST 'https://openapi1.uat.useepay.com/api/v1/payment_intents/create' \
--header 'x-merchant-no;' \
--header 'x-api-key;' \
--header 'x-app-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 100,
"currency": "USD",
"merchant_order_id": "bdaf311331",
"invoice_id": "inv_1023H3CQ81800",
"mandate_data": {
"customer_acceptance": {
"type": "online",
"accepted_at": "2024-10-06T10:56:21Z",
"online": {
"ip_address": "192.168.12.1",
"user_agent": "user agent"
}
}
}
}'
{}