post https://securepayments.loanpro.io/api/v2/update-card
This request updates a Card within Secure Payments.
Click here to learn more about this request
A card is an instrument for logging transactions on a line of credit account. Here are a few details about this request:
- Not all card information can be updated after a card has been created.
- To update a card, either the card's UUID or token must be present. To receive a card's UUID, send a GET request to the Job Information ↗ endpoint using the
"job_uuid"
that represents the creation of the card. - Cards fit within the Secure Payments ecosystem as follows:
- Secure Payments account > Issuers > Card Programs > Cards > Swipes > Swipe Events
Sample Payloads
{
"card": {
"card_uuid": "01H8FKHETBAMYPW114DQQZE909",
"card_status": "active",
"card_title": "New Card Title",
"card_currency": "USD",
"card_type": "physical",
"available_balance": 12000,
"available_advance_balance": 10000,
"issuer_product_id": "1254-asdf!@^%#$@",
"spend_limit": 5000,
"spend_limit_interval": "monthly",
"billing_address": {
"address1": "8838 Michigan Ave",
"address2": "",
"zipcode": "60602",
"city": "Chicago",
"state": "IL",
"country": "USA"
},
"shipping_address": {
"address1": "8838 Michigan Ave",
"address2": "",
"zipcode": "60602",
"city": "Chicago",
"state": "IL",
"country": "USA"
},
"swipe_restrictions": [
{
"attribute": "merchant-mcc",
"attribute_whitelist": false,
"attribute_values": "2223,8889,7778",
"authorize_when_empty": true
}
],
"swipe_expiration_exceptions": [
{
"attribute": "merchant-name",
"attribute_values": "walmart",
"authorization_expiration_days": 30
}
]
}
}