Processing currencies | VND |
---|---|
Settlement currencies | USD |
Refunds | ❌ |
momo
momo
to the list of payment method types.{
"amount":200,
"currency":"VND",
"confirm":true,
"payment_method_data" : {
"type":"momo",
"billing_details":{
"name":"buyer name",
"email":"test@gmail.com"
}
},
"return_url":"https://your.website"
}
{
"id": "pi_1906980953264226304",
"object": "payment_intent",
"created": 1743494664000,
"livemode": false,
"currency": "VND",
"amount": 100000000,
"status": "requires_action",
"client_secret": "pi_1906980953264226304_secret_w9ltuoDvny1sYDo4iVUHlDqM",
"next_action": {
"type": "redirect_to_url",
"redirect_to_url": {
"url": "https://XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
},
"payment_method_types": [
"momo"
],
"confirmation_method": "automatic",
"return_url": "https://your.website",
"payment_method": "pm_1906980953150980096",
"capture_method": "automatic"
}
{
"mode": "payment",
"success_url": "https://yourwebsite.com",
"payment_method_types": ["momo"],
"line_items": [
{
"price_data": {
"currency": "VND",
"unit_amount": 100000,
"product_data": {
"name": "Kettle"
},
"billing_scheme": "testscheme",
"lookup_key": "test_lookup_key"
},
"quantity": 1
}
]
}
{
"id": "cs_1964989708362579968",
"object": "checkout.session",
"created": 1757325029000,
"livemode": true,
"acctId": "516684936777874841601",
"currency": "VND",
"customer": "",
"mode": "payment",
"status": "open",
"url": "https://checkout.wooshpay.com/XXXXXXXXXXXXXXXx",
"allowPromotionCodes": false,
"cancel_url": "https://baidu.com/",
"line_items": {
"object": "list",
"data": [
{
"id": "li_1964989708375162880",
"object": "item",
"currency": "VND",
"description": "Kettle",
"price": {
"id": "price_1964989708383551488",
"object": "price",
"created": 1757325029000,
"livemode": true,
"active": true,
"currency": "VND",
"product": {
"id": "prod_1964989708396134400",
"object": "product",
"created": 1757325029000,
"livemode": true,
"active": true,
"name": "Kettle",
"updated": 1757325029000
},
"type": "one_time",
"unit_amount": 100000,
"billing_scheme": "per_unit",
"lookup_key": "test_lookup_key"
},
"quantity": 1,
"amount_subtotal": 100000,
"amount_total": 100000
}
]
},
"payment_intent": "pi_1964989708782010368",
"payment_method_types": [
"momo"
],
"payment_status": "unpaid",
"success_url": "https://yourewebsite.com/"
}