Update Account
Changed onUse the Update Account endpoint to modify customer profile information in an existing customer record. Pass only the parameters to modify — other parameters should be left blank. Only active accounts (status: N) can be updated using this endpoint, unless you set provider parameter UPDCZ to update accounts in status: C or status: Z.
Nullifying data elements
Pass the string null for any of these parameters to update that value to null.
| firstName | middleName | lastName | address1 |
| city | state | postalCode | primaryPhone |
| otherPhone | mobilePhone | shipToAddress1 | webUid |
| secretQuestion | secretAnswer | mailBounced | email* |
| embossLine2 | |||
| *Only if the provider parameter AENUL is set. |
[block:callout]
{ "type": "warning", "title": "Warning", "body": "Exercise caution when nullifying a primary address — for compliance in the United States you must maintain a physical address as an individual cardholder's primary address." } [/block]
Updating customer ID
When you are using the SoFi Tech Solutions integrated <glossary:IVS> process, you can update the primary customer ID (id and idType) as long as the customer has not passed customer identity verification. If the customer has already passed IVS, status code 415-02 is returned. Secondary and tertiary customer IDs (id2/idType2 and id3/idType3) can be updated regardless of customer-verification status, but they cannot be nullified or cleared. If you omit those keys, the current value is not changed.
Updating the ship-to address
When updating the ship-to address for a customer, the elements shipToAddress1, shipToCity, shipToState, and shipToPostalCode are required – shipToAddress2 is optional. You can retrieve the current customer ship-to address data using the <a href="ref:post_getaccountcards" target="_blank">Get Account Cards</a> endpoint.
By default, the embosser sends the card to the primary address. To ship to a different address than the primary, use the ship-to address fields. If you pass shipToAddressPermanent: 1 the embosser will always send cards to the ship-to address; otherwise, the ship-to address is used only for the current order.
Request
- Base URLapi-{corename}.{env}.gpsrv.com/intserv/4.0/ (relative, and the document’s source URL is not known)
- URLapi-{corename}.{env}.gpsrv.com/intserv/4.0/updateAccount
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"apiLogin": "AbC123-9999",
"apiTransKey": "4sb62fh6w4h7w34g",
"providerId": 9999,
"transactionId": "123e4567-e89b-12d3-a456-426614174000",
"accountNo": "074103447228",
"idType": 2,
"id": "123456789",
"idType2": 1,
"id2": "123456789012|ut|12/25/2020",
"idType3": 13,
"id3": "abc123456789|05-22-2027",
"location": "a455-3483",
"locale": "en_US",
"externalAccountId": "553b45sbs",
"firstName": "Ed",
"middleName": "W",
"lastName": "Harley",
"dateOfBirth": "1980-01-01",
"address1": "33 Maple Street",
"address2": "#4B",
"address3": "Carrera Central",
"address4": "Barrio El Alhambra",
"address5": "Piso 3",
"city": "Salt Lake City",
"state": "UT",
"postalCode": "84121",
"countryCode": "840",
"primaryPhone": "8013656060",
"otherPhone": "8013656060",
"mobilePhone": "8013656060",
"mobileCarrierId": "8",
"email": "user@fakedomain.com",
"webUid": "eharley",
"webPwd": "4j9KH3kkdh",
"secretQuestion": "What was the name of your first pet?",
"secretAnswer": "Larry",
"incomeSource": "Kroger Food & Drug",
"occupation": "Project Manager",
"nationality": "MX",
"placeOfBirth": "MX-YUC",
"curp": "HRGRAL82050602H900",
"kycRefNo": "KYC123456789012312312312521312312312",
"externalCustomerId": "acv#-@45!sbsxm%-",
"mailBounced": "Y",
"shipToAddress1": "33 business parkway",
"shipToAddress2": "Suite 400",
"shipToCity": "Salt Lake City",
"shipToState": "UT",
"shipToPostalCode": "841213333",
"shipToCountryCode": "840",
"shipToAddressPermanent": "1",
"embossLine2": "Scarlet Ibis Shipping",
"businessName": "Ed",
"mobilePhoneCountryCode": "+1"
}Response
Changes
- info
endpoint added
- info