With UEX APP Standard and Express, you can easily and safely receive online payments from your customer.
This endpoint will create a token for you to use to create transactions.
POST https://uexapp.com/merchant/api/verify
{
"client_id": "HjrdwEsgfLW8taQIALHZccaMWKEtds",
"client_secret": "Zcs3Zklc1jMaLOi5gsLePDIn8hOvwa3eTDTamOhgLqSpGAFQlgzGEKLcE9b2MqE2Gf2V7uSFyQPVbo0GXeIlPjyC0M3Rw6busPw"
}
Response
{
"status": "success",
"message": "Client Verified",
"data": {
"access_token": "Rl5kU2Y2z3ytTaaAyHpc7EcahK"
}
}
If payer wants to fund payments using UEX APP, set payer to UEX APP.(Other payment method ex: paypal, stripe, coin payments etc not available yet).
POST https://uexapp.com/merchant/api/transaction-info
Authentication: Bearer Rl5kU2Y2z3ytTaaAyHpc7EcahK
{
"payer": "UexApp",
"amount": 100.50,
"currency": "USD",
"successUrl": "https://your-domain.com/payment/success",
"cancelUrl": "https://your-domain.com/payment/cancel"
}
Response
{
"status": "success",
"message": "Transaction Info Created Successfully!",
"data": {
"approvedUrl": "https://uexapp.com/merchant/payment?grant_id=12345&token=abcdefg"
}
}