Add a new Payment Credential to an existing Alias. The request requires the aliasId as a path parameter in valid GUID format. Sample request: POST ads/api/v1/aliases/{aliasId}/paymentCredentials { "paymentType": "CARD", "paymentInfo": { "cardInfo": { "nameOnCard": "Alex Miller", "issuerName": "Bank A", "cardType": "Visa Platinum", "expirationDate": "2030-01", "externalId": "63421837-d597-4f0f-89e4-930c1a7b9e85", "currencyCode": "USD", "preferredFor": [ { "type": "RECEIVE" } ], "billingAddress": { "country": "USA", "addressLine1": "1000 Market Street", "addressLine2": "Suite 101", "buildingNumber": "56", "city": "San Francisco", "minorSubdivisionCode": "CA", "streetName": "12", "postalCode": "94105", "state": "CA" }, "accountNumber": "41145542" }, "bankInfo": { "accountName": "Alex Miller", "accountNumber": "41145542", "accountNumberType": "DEFAULT", "accountType": "SAVING", "bankName": "Bank A", "bankCode": "173", "branchCode": "123456", "bankCodeType": "ABA", "bic": "AAAABBCC123", "countryCode": "USA", "currencyCode": "USD", "externalId": "63421837-d597-4f0f-89e4-930c1a7b9e85", "address": { "country": "USA", "addressLine1": "1000 Market Street", "addressLine2": "Suite 101", "buildingNumber": "56", "city": "San Francisco", "minorSubdivisionCode": "CA", "streetName": "12", "postalCode": "94105", "state": "CA" }, "preferredFor": [ { "type": "RECEIVE" } ] }, "threddInfo": { "accountNumber": "238915978", "nameOnCard": "Alex Miller", "issuerName": "Bank A", "cardType": "Visa Platinum", "externalIdForCard": "63421837-d597-4f0f-89e4-930c1a7b9e85", "currencyCode": "USD", "preferredFor": [ { "type": "RECEIVE" } ], "billingAddress": { "country": "USA", "addressLine1": "1000 Market Street", "addressLine2": "Suite 101", "buildingNumber": "56", "city": "San Francisco", "minorSubdivisionCode": "CA", "streetName": "12", "postalCode": "94105", "state": "CA" } } } }
DocumentationFor more information on this endpoint, see Create Payment Credential.