VAD-1120 Internal Server Error 500

Solved! Go to solution
romkadvayha
Newbie

VAD-1120 Internal Server Error 500

hi, I get an error while creating an alias

 

$createAlias = (new \visa_alias_directory_api\model\CreateAliaspostPayload())
->setGuid('ruconsumer12345671')
->setRecipientFirstName('Roman')
->setRecipientLastName('Mescheryakov')
->setCountry('RU')
->setConsentDateTime((new DateTime())->format('Y-m-d H:i:s'))
->setRecipientPrimaryAccountNumber('4285229999999991')
->setIssuerName('RU Bank 1')
->setCardType('Visa Platinum')
->setAliasType('1')
->setAlias('74958889994');

1 REPLY 1
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: VAD-1120 Internal Server Error 500

Hi @romkadvayha,

 

For testing the Create Alias API in sandbox, please use the provided test payload from the Code Explorer here.

 

CreateAliasPayload.jpg

 

Please try that and let us know if you have any questions.


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.