Obtenir le détail d'un alias
curl --request POST \
--url https://api.stage.localpayment.com/api/payment/alias-detail \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"countryISOCode": "CO",
"aliasClassification": "Breb",
"aliasValue": "3668933567"
}
'import requests
url = "https://api.stage.localpayment.com/api/payment/alias-detail"
payload = {
"countryISOCode": "CO",
"aliasClassification": "Breb",
"aliasValue": "3668933567"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({countryISOCode: 'CO', aliasClassification: 'Breb', aliasValue: '3668933567'})
};
fetch('https://api.stage.localpayment.com/api/payment/alias-detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stage.localpayment.com/api/payment/alias-detail",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'countryISOCode' => 'CO',
'aliasClassification' => 'Breb',
'aliasValue' => '3668933567'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.stage.localpayment.com/api/payment/alias-detail"
payload := strings.NewReader("{\n \"countryISOCode\": \"CO\",\n \"aliasClassification\": \"Breb\",\n \"aliasValue\": \"3668933567\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.stage.localpayment.com/api/payment/alias-detail")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"countryISOCode\": \"CO\",\n \"aliasClassification\": \"Breb\",\n \"aliasValue\": \"3668933567\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/payment/alias-detail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"countryISOCode\": \"CO\",\n \"aliasClassification\": \"Breb\",\n \"aliasValue\": \"3668933567\"\n}"
response = http.request(request)
puts response.read_body{
"aliasType": "PHONE",
"aliasValue": "3668933567",
"bankName": "KAMIN S.A",
"firstName": "John",
"idType": "CC",
"idValue": "******0695",
"lastName": "Do**",
"status": "ACTIVE"
}{
"error": "DICE error: Keys not found or inactive",
"errorCode": "408"
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"error": "Service not available for Breb in COL"
}Ressources
Obtenir le détail d'un alias
POST
/
api
/
payment
/
alias-detail
Obtenir le détail d'un alias
curl --request POST \
--url https://api.stage.localpayment.com/api/payment/alias-detail \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"countryISOCode": "CO",
"aliasClassification": "Breb",
"aliasValue": "3668933567"
}
'import requests
url = "https://api.stage.localpayment.com/api/payment/alias-detail"
payload = {
"countryISOCode": "CO",
"aliasClassification": "Breb",
"aliasValue": "3668933567"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({countryISOCode: 'CO', aliasClassification: 'Breb', aliasValue: '3668933567'})
};
fetch('https://api.stage.localpayment.com/api/payment/alias-detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stage.localpayment.com/api/payment/alias-detail",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'countryISOCode' => 'CO',
'aliasClassification' => 'Breb',
'aliasValue' => '3668933567'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.stage.localpayment.com/api/payment/alias-detail"
payload := strings.NewReader("{\n \"countryISOCode\": \"CO\",\n \"aliasClassification\": \"Breb\",\n \"aliasValue\": \"3668933567\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.stage.localpayment.com/api/payment/alias-detail")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"countryISOCode\": \"CO\",\n \"aliasClassification\": \"Breb\",\n \"aliasValue\": \"3668933567\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/payment/alias-detail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"countryISOCode\": \"CO\",\n \"aliasClassification\": \"Breb\",\n \"aliasValue\": \"3668933567\"\n}"
response = http.request(request)
puts response.read_body{
"aliasType": "PHONE",
"aliasValue": "3668933567",
"bankName": "KAMIN S.A",
"firstName": "John",
"idType": "CC",
"idValue": "******0695",
"lastName": "Do**",
"status": "ACTIVE"
}{
"error": "DICE error: Keys not found or inactive",
"errorCode": "408"
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"error": "Service not available for Breb in COL"
}Vérifiez si un alias de Payout est actif et consultez les informations masquées de son titulaire avant d’envoyer un Payout. Actuellement disponible uniquement pour la Colombie.
Consultez Vérifier un alias de Payout pour la référence complète des champs de la réponse, les règles de masquage, les recommandations de gestion des erreurs et une démo interactive.
Autorisations
En-têtes
Jeton d'accès Bearer pour l'authentification. Ce jeton s'obtient via les endpoints Obtenir un jeton d'accès ou Actualiser le jeton d'accès.
Corps
application/json
Réponse
OK
Type de pièce d'identité du titulaire. Consultez Types de documents pris en charge.
Classification de l'alias résolu (pièce d'identité, code commerçant, numéro de téléphone mobile, adresse e-mail ou clé alphanumérique). Les valeurs confirmées en production sont en majuscules, par exemple PHONE ; la chaîne exacte de chacune des autres catégories n'est pas encore confirmée.
Dernière modification le 22 novembre 2026

