To get started, we request that you log in, this will allow you to access the platform and ensure greater security when managing it.
You’ll need to make a POST request to the following endpoint with the information provided by the integration team.
<aside> ⚠️ Merchant Attribute:
You have the option to access information from another merchant associated with your account by simply adding the parameter "merchant_code".
</aside>
{API_PLATFORM_URL}/v1/auth/login
As parameters, you’ll input the data provided by the ETpay integration team.
{
"username": "[email protected]",
"password": "holaEtpay!"
"merchant": {
"code": "mx_comercio",
"api_token": "2aIFKbKIyy2r03ujm[...]CLoTeex2TAjFULZUY5iD"
}
}
If the request was made correctly, you will receive the necessary information to make use of the direct debit service.
Response Status Code 200
{
"msg": "ok",
"auth": {
"tokenExp": 1697528779000,
"Authorization": "eyJraWQiOi[...]JvSlJ"
},
"user": {
"name": "Darth",
"lastnames": "Vader",
"email": "[email protected]"
}
}