Create an Alias to a Virtual Account
curl --request POST \
--url https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "C",
"value": "alias.example"
}
'import requests
url = "https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias"
payload = {
"type": "C",
"value": "alias.example"
}
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({type: 'C', value: 'alias.example'})
};
fetch('https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias', 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/virtual-account/{externalId}/alias",
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([
'type' => 'C',
'value' => 'alias.example'
]),
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/virtual-account/{externalId}/alias"
payload := strings.NewReader("{\n \"type\": \"C\",\n \"value\": \"alias.example\"\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/virtual-account/{externalId}/alias")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"C\",\n \"value\": \"alias.example\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias")
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 \"type\": \"C\",\n \"value\": \"alias.example\"\n}"
response = http.request(request)
puts response.read_body{
"externalId": "94c6faee-0b35-4304-915b-e857981b4c01",
"alias": {
"type": "C",
"value": "alias.example"
},
"status": {
"code": "100",
"description": "INPROGRESS",
"detail": "Alias creation pending confirmation"
}
}
Virtual Account Alias
Create an Alias to a Virtual Account
POST
/
api
/
virtual-account
/
{externalId}
/
alias
Create an Alias to a Virtual Account
curl --request POST \
--url https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "C",
"value": "alias.example"
}
'import requests
url = "https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias"
payload = {
"type": "C",
"value": "alias.example"
}
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({type: 'C', value: 'alias.example'})
};
fetch('https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias', 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/virtual-account/{externalId}/alias",
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([
'type' => 'C',
'value' => 'alias.example'
]),
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/virtual-account/{externalId}/alias"
payload := strings.NewReader("{\n \"type\": \"C\",\n \"value\": \"alias.example\"\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/virtual-account/{externalId}/alias")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"C\",\n \"value\": \"alias.example\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/virtual-account/{externalId}/alias")
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 \"type\": \"C\",\n \"value\": \"alias.example\"\n}"
response = http.request(request)
puts response.read_body{
"externalId": "94c6faee-0b35-4304-915b-e857981b4c01",
"alias": {
"type": "C",
"value": "alias.example"
},
"status": {
"code": "100",
"description": "INPROGRESS",
"detail": "Alias creation pending confirmation"
}
}
Availability: Argentina
This operation allows merchants to associate a custom, human-readable alias (CVU alias) with an existing active virtual account in Argentina.
An alias replaces the 22-digit CVU with a short, memorable text string, reducing errors when sharing payment details.
Info
- The alias must be unique at the country level. This is not a platform restriction, but a requirement of the Argentine banking system. If another CVU already uses the same alias, the request will be rejected.
- To update an alias, call this same endpoint with the new value once the required 24-hour waiting period has elapsed.
- Once created or updated, the alias cannot be changed again for 24 hours. There is no limit on the total number of changes.
- The alias is activated asynchronously. An
INPROGRESSresponse does not mean the alias is already active. Verify activation using the Get Virtual Account Status endpoint.- To check which aliases are currently active on a virtual account, use the Get Virtual Account Status endpoint.
Alias Format Rules
- Only letters (a–z, A–Z), numbers (0–9), and dots (
.) are allowed. - Spaces, hyphens, underscores, at signs (
@), and other special characters are not permitted. - Length must be between 5 and 20 characters.
- Valid examples:
alias.example,alias.example2026,alias.example.test
Best Practices
- Use meaningful, consistent aliases to aid in internal reconciliation and support flows.
- Log alias creation responses and associate them with your internal transaction records for easy auditing.
- Use the status check endpoint periodically or before payment collection to verify the alias is active and mapped correctly.
Authorizations
Headers
Bearer access token for authentication. This token is obtained from the Get Access Token or Refresh Access Token endpoints.
Path Parameters
Body
application/json
Last modified on November 10, 2026

