Request
Body Params application/json
{
"customer_id":"{{customer-id}}"
,"payment_intent_id":"{{payment-intent-id}}"
,"customer_acceptance":{
"type":"online"
,"accepted_at":"2024-10-06T10:56:21Z"
,"online":{
"ip_address":"192.168.12.1"
,"user_agent":"user agent"
}
}
}
Request samples
curl --location --request POST 'https://openapi1.uat.useepay.com/api/v1/mandates/create' \
--header 'x-merchant-no: 500000000007245' \
--header 'x-api-key: FUYTIUvjhgfytfuytwiue' \
--header 'x-app-id: www.pay.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_id":"cus_1JA7UDDQG3800"
,"payment_intent_id":"1012411211459019141"
,"customer_acceptance":{
"type":"online"
,"accepted_at":"2024-10-06T10:56:21Z"
,"online":{
"ip_address":"192.168.12.1"
,"user_agent":"user agent"
}
}
}'
Responses
application/json {
"id": "man_1JARUC40K0800",
"customer_id": "{{customer-id}}",
"payment_intent_id": "{{payment-intent-id}}",
"customer_acceptance": {
"type": "online",
"accepted_at": "2024-10-06T10:56:21Z",
"online": {
"ip_address": "192.168.12.1",
"user_agent": "user agent"
}
},
"merchant_no": "500000000007264",
"app_id": "www.pay.com",
"create_at": "2024-10-25T07:14:09Z",
"modify_at": "2024-10-25T07:14:09Z"
}
Modified at 2024-10-25 09:24:32