Card
/
Update card status

Update card status

PATCH
https://agents-api-sit.finci.com:5500/v1/update-card-status/{token_id}

Updates the current card status for the specified token, such as activating, blocking, or closing the card.

Headers

    X-Auth-Token
    string
    Required
    Partner Token
    X-Auth-Signature
    string
    Required
    Signature of the request body
    X-Auth-Timestamp
    string
    Required
    Request timestamp (Unix Epoch in UTC).

Path parameters

    token_id
    string
    Required
    Card token ID

Request body

    token_status
    string
    Required
    Token status. active - card is active, blocked - card is blocked, closed - card is closed, compromized - card is compromised, damaged - card is damaged, deactivated - card is temporary deactivated by the client, lost - card is lost, referral - contact of the client with the issuer is required, stolen - card is stolen
      active
      string
      blocked
      string
      closed
      string
      compromized
      string
      damaged
      string
      deactivated
      string
      lost
      string
      referral
      string
      stolen
      string

Response

Card status updated
    status
    string
      success
      string
      error
      string
    errors
    array of string
    Error codes list
    token_id
    string
    Card token ID
Built with