v1
latestOpenAPI 3.0.02026-07-26168846732.2 KBAuthentication
Authentication - Create
Create a new authentication for accessing our APIs from your servers.
post/authentication
Request body
Example request
{
"authentication_id": "auth_mbabizu24mvu3mela5njyhpit4",
"return_url": "https://example.com/redirect",
"acquirer_details": {
"acquirer_bin": "123456",
"acquirer_merchant_id": "merchant_abc",
"merchant_country_code": "US/34456"
},
"customer_details": {
"id": "cus_y3oqhf46pyzuxjbcn2giaqnb44",
"name": "John Doe",
"email": "johntest@test.com",
"phone": "9123456789",
"phone_country_code": "+1",
"document_details": {
"document_number": "12345678911"
}
}
}Response
Authentication created
Example response
{
"authentication_id": "auth_mbabizu24mvu3mela5njyhpit4",
"merchant_id": "merchant_abc",
"client_secret": "auth_mbabizu24mvu3mela5njyhpit4_secret_el9ksDkiB8hi6j9N78yo",
"created_at": "2022-09-10T10:11:12Z",
"error_code": "E0001",
"error_message": "Failed while verifying the card",
"acquirer_details": {
"acquirer_bin": "123456",
"acquirer_merchant_id": "merchant_abc",
"merchant_country_code": "US/34456"
},
"customer_details": {
"id": "cus_y3oqhf46pyzuxjbcn2giaqnb44",
"name": "John Doe",
"email": "johntest@test.com",
"phone": "9123456789",
"phone_country_code": "+1",
"document_details": {
"document_number": "12345678911"
}
}
}