GET - Card Status

Get status of your Card, by providing card id in path parameter.

Get - Card Status card


End point

https://api.up.money/cards/status/{cardId}

Headers

Security

REQUEST BODY SCHEMA: application/json

Add YWJjMTIzIQ== in x-secret in headers.

Header parameter name: x-secret


The authentication token representing the user. This will be included in the login response object as token.

Header parameter name: Authorization-key


Path Parameters


Payload Details


{
    "type": "consumer" // or "corporate"
}

Sample Request


curl --location --request GET 'https://api.up2.money/cards/status/{cardId}' \
--header 'x-secret: YWJjMTIzIQ==' \
--header 'Authorization-key: YOUR_AUTHORIZATION_KEY' \
--header 'Content-Type: application/json' \
--data '{
    "type": "consumer" 
}'

Sample Response


{
  "accounts": [
    {
      "id": "string",
      "profileId": "string",
      "tag": "string",
      "friendlyName": "string",
      "currency": "str",
      "balances": {
        "availableBalance": 0,
        "actualBalance": 0
      },
      "state": {
        "state": "ACTIVE",
        "blockedReason": "USER",
        "destroyedReason": "SYSTEM"
      },
      "creationTimestamp": 0
    }
  ],
  "count": 0,
  "responseCount": 0
}

Response Status


200 Success

400 Bad Request Error - Your request is invalid.

errorCode: Enum: "REQUIRED" "HAS_TEXT" "REQUIRES" "SIZE" "RANGE" "IN" "NOT_IN" "REGEX" "EXACTLY" "AT_LEAST" "AT_MOST" "ALL_OR_NONE"

400 Bad Request Error - Your request is invalid.

401 Unauthorized - Your credentials or access token are invalid.

403 Forbidden - Access to the requested resource or action is forbidden.

errorCode: Enum: STEP_UP_REQUIRED ACCESS_TOKEN_REQUIRED

429 Too many requests.

500 Internal Server Error - There is a problem with the server. Please try again later.

503 Service Unavailable - We're temporarily offline for maintenance. Please try again later.


E-nums


Last updated