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
Path Parameters
cardId (required)
string
^[0-9]+$
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.
401 Unauthorized - Your credentials or access token are invalid.
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
STEP_UP_REQUIRED
Current session is expired, Call stepup api to create new session
ACCESS_TOKEN_REQUIRED
Issue with your token (Invalid or expired)
Last updated