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');
Solved! Go to Solution
Hi @romkadvayha,
For testing the Create Alias API in sandbox, please use the provided test payload from the Code Explorer here.
Please try that and let us know if you have any questions.