Skip to content

Update billing info

Request

Update billing info for a client

  • membershipId identifiies the membership the billing account is associated with
  • type must be one of the following values
    • CARD Credit card type, must include lastFour, expMonth, expYear. and tokenId. vaultToken is recommened when using the Cayan processor but is not reqruired.

    • CHECKING Checking account type, must include accountNo and routingNo

  • deductType must be a value returned by getEFTDeductTypes endpoint
Security
BasicAuthCredentials
Bodyapplication/json
clientNumberstring
Example:"0000000001"
membershipIdstring
Example:"0000000999"
typestring
Example:"CARD"
deductTypestring
Example:"Visa"
lastFourstring
Example:"0026"
expMonthstring
Example:"08"
expYearstring
Example:"2029"
tokenIdstring
Example:"123456789"
vaultTokenstring
Example:"1234abcd6789"
accountNostring
Example:"1234567890"
routingNostring
Example:"123456789"
nameOnAccountstring
Example:"John Doe"
billingAddressstring
Example:"1 Main St"
billingCitystring
Example:"Buffalo"
billingStatestring
Example:"NY"
billingZipstring
Example:"14220"
curl -i -X POST \
  -u '<username>:<password>' \
  http://sandbox.sunlync.net:9000/slapi/clients/updatebillinginfo \
  -H 'Content-Type: application/json' \
  -d '{
    "clientNumber": "0000000001",
    "membershipId": "0000000999",
    "type": "CARD",
    "deductType": "Visa",
    "lastFour": "0026",
    "expMonth": "08",
    "expYear": "2029",
    "tokenId": "123456789",
    "vaultToken": "1234abcd6789",
    "accountNo": "1234567890",
    "routingNo": "123456789",
    "nameOnAccount": "John Doe",
    "billingAddress": "1 Main St",
    "billingCity": "Buffalo",
    "billingState": "NY",
    "billingZip": "14220"
  }'

Responses

Update billing info for a client

Bodyapplication/json
messagestring
Example:""
Response
{ "message": "" }