- 1. Overview
- 2. Authentication
- 2.1 Introduction
- 2.2 Creating the Bearer Token
- 3. Requests & Responses
- 4. Getting Started
- 5. API
- Health
- Accounts
- Transfer
- Transactions
- Conversions
- Payouts
- Card Account
- Cards
- Digital Custody
- Countries
- Positions
- Occupations
- 6. Screenshot Illustration(api+image)
5.20 Lock Card
POST
https://access.sandbox.orzcash.com/v1/cards/lock
Request
Query Params
cardAccountId
string
required
cardId
string
required
Body Params application/json
cardAccountId
string
required
cardId
string
required
Example
{
cardAccountId:"10008",
cardId:"1003"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://access.sandbox.orzcash.com/v1/cards/lock?cardAccountId&cardId' \
--header 'Content-Type: application/json' \
--data-raw '{
cardAccountId:"10008",
cardId:"1003"
}'
Responses
🟢200success
application/json
Body
id
string
required
xid
string
required
xmetadata
string
required
status
string
required
embossedName
string
required
network
string
required
product
object
required
expiryMonth
string
required
expiryYear
string
required
last4
string
required
replacedBy
string
required
cardLimit
number
required
dailyAtmLimit
number
required
dailyPurchaseLimit
number
required
availableLimit
number
required
Example
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"xid": "string",
"xmetadata": {},
"status": "active",
"embossedName": "string",
"network": "mastercard",
"product": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"imageUrl": "string"
},
"expiryMonth": 9,
"expiryYear": 2030,
"last4": "string",
"replacedBy": "string",
"cardLimit": 0,
"dailyAtmLimit": 0,
"dailyPurchaseLimit": 0,
"availableLimit": 0
}
Modified at 2022-12-29 15:49:51