API
Skip to main content

MB WAY payment using registered mobile phone number

If you have a mobile phone registered with MB WAY, you can request the payment immediately.

  1. Obtain the UUID of the registered payment method;
  2. Payment by sending the payment method.

1. Obtain the UUID of the registered payment method

The UUID of the payment method can be obtained by querying the payment methods saved by the customer

2. Payment by sending the payment method

Make a payment request by sending the customer's UUID and the payment method UUID.

information
For MB WAY, validation in the app is always required.

POST /payments
{
"type": "payment",
"amount": 100,
"customer": {
"uuid": "e2343605-cf46-43de-b20b-9b7d1c95a9b2"
},
"paymentMethod": {
"uuid": "90068f83-7623-4de5-91c7-ac447c504ebf"
}
}