v1

latestOpenAPI 3.0.02026-07-14664396.8 KB
VIRTUAL ACCOUNT

Update alias virtual account

Endpoint to update the alias associated with a customer ID.

put/virtual-account/alias-update

Headers

api-keystring
Example:alfredpay.T+QdhCoMofy8.gGKO5KdB7M+B/9jLFef

API Key for service authentication (alternative to JWT Bearer token). Optional.

api-secretstring
Example:PwF+cDGZd37eHYZ.CVvF1/zbHCBosSo1

API Secret for service authentication (alternative to JWT Bearer token). Optional.

Request body

customerIdstring required

Unique identifier of the customer

aliasstring required

Alias between 6 and 20 characters. Only letters, numbers, dots, and hyphens are allowed.

Example request

{
  "customerId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "alias": "my.alias-123"
}