Configuration
For configuration code samples, see our Configuration Code for SDKs article.
Dynamic Descriptor is currently supported only by certain Acquirers (that is, our North America division and Allied Irish Banks). Both the Issuer and the Acquirer must support this functionality. Before using, consult with your account manager or support agent.
info
Set a descriptor
// Create the card object
CreditCardData card = new CreditCardData();
card.setNumber("4111111111111111");
card.setExpMonth(12);
card.setExpYear(2025);
card.setCvn("123");
card.setCardHolderName("Joe Smith");
try {
card
.authorize(10)
.withCurrency("USD")
.withDynamicDescriptor("ALTERNATIVE DBA")
.execute();
} catch (ApiException e) {
// TODO: add your error handling here
}
<?php
// create the card object
$card = new CreditCardData();
$card->number = "4111111111111111";
$card->expMonth = 12;
$card->expYear = 2025;
$card->cvn = "131";
$card->cardHolderName = "Joe Smith";
try {
$response = $card->authorize(10)
->withCurrency('USD')
->withDynamicDescriptor('ALTERNATIVE DBA')
->execute();
} catch (ApiException $e) {
// TODO: add your error handling here
}
// Create the card object
CreditCardData card = new CreditCardData();
card.Number = "4111111111111111";
card.ExpMonth = 12;
card.ExpYear = 2025;
card.Cvn = "123";
card.CardHolderName = "Joe Smith";
try
{
var authorization = card.Authorize(10m)
.WithCurrency("USD")
.WithDynamicDescriptor("ALTERNATIVE DBA")
.Execute();
}
catch (Exception ex)
{
// TODO: add your error handling here
}
Internal Title
REST API
Show Content Nav
On
Tags