Volcano API
๐Ÿš€ API Endpoints

๐Ÿƒ Card Management

Card creation, management, and transaction endpoints. 38 endpoints available.

๐ŸŽฏ Quick Stats

๐Ÿ“Š Methods

  • ๐Ÿ“ POST: 10 endpoints
  • ๐Ÿ” GET: 14 endpoints
  • โœ๏ธ PUT: 10 endpoints
  • ๐Ÿ—‘๏ธ DELETE: 4 endpoints

๐Ÿ” Authentication

All endpoints in this section use the same authentication methods. Choose one:

๐Ÿ”‘ Bearer Token (Recommended)

For user session authentication

Add to request headers:

Authorization: Bearer YOUR_TOKEN

๐Ÿ”ง API Key

For server-side authentication

Add to request headers:

X-API-KEY: YOUR_API_KEY

โš ๏ธ Important: Do not use both authentication methods simultaneously in the same request.

๐Ÿ”— Endpoints Overview

MethodEndpointDescription
๐Ÿ“ POST/card/issuer/createCreate a new card issuer
๐Ÿ” GET/card/issuer/listGet card issuer list
๐Ÿ” GET/card/issuer/{issuerId}Get specific card issuer by ID
โœ๏ธ PUT/card/issuer/{issuerId}Update an existing card issuer
๐Ÿ—‘๏ธ DELETE/card/issuer/{issuerId}Delete a card issuer
๐Ÿ“ POST/card/{issuerId}/channel/createCreate a new card channel
๐Ÿ” GET/card/{issuer}/channel/listGet card channel list
๐Ÿ” GET/card/channel/bin-listGet card channel BIN list
๐Ÿ” GET/card/channel/{channelId}Get specific card channel by ID
โœ๏ธ PUT/card/channel/{channelId}Update an existing card channel
๐Ÿ—‘๏ธ DELETE/card/channel/{channelId}Delete a card channel
๐Ÿ“ POST/card/product/createCreate card product for merchant
๐Ÿ” GET/card/productsGet card product list
๐Ÿ” GET/card/product/{cardProductId}Get specific card product by ID
โœ๏ธ PUT/card/product/{cardProductId}Update card product for merchant
๐Ÿ—‘๏ธ DELETE/card/product/{cardProductId}Delete card product for merchant
โœ๏ธ PUT/card/{cardId}/3ds-forwardingUpdate 3DS forwarding method for a card
๐Ÿ” GET/card/userGet cards by user ID
๐Ÿ” GET/card/{cardId}Find card by ID
๐Ÿ” GET/card/searchSearch cards by various criteria
โœ๏ธ PUT/card/{cardId}/updateUpdate an existing card
โœ๏ธ PUT/card/{cardId}/lockLock a card
โœ๏ธ PUT/card/{cardId}/unlockUnlock a card
๐Ÿ—‘๏ธ DELETE/card/{cardId}/deleteDelete a card
โœ๏ธ PUT/card/{cardId}/activateActivate a card
๐Ÿ” GET/card/{cardId}/sensitive-infoGet card sensitive information
๐Ÿ” GET/card/{cardId}/balanceGet card balance
๐Ÿ” GET/card/{cardId}/available-balanceGet card available balance
๐Ÿ“ POST/card/{cardId}/creditCharge a card (add funds)
๐Ÿ“ POST/card/{cardId}/debitDebit a card (deduct funds)
๐Ÿ“ POST/card/transferTransfer funds between cards
๐Ÿ” GET/card/sunrate/test-connectionTest Sunrate API connection, IP whitelist and encryption algorithm
๐Ÿ“ POST/card/sunrate/test-decryptTest endpoint for decrypting a payload.
โœ๏ธ PUT/card/sunrate/velocity-limits/{cardId}No description
๐Ÿ“ POST/card/{cardId}/withdrawWithdraw funds from a card
๐Ÿ“ POST/card/{cardId}/3ds-verificationRespond to 3DS verification
โœ๏ธ PUT/card/{cardId}/pinUpdate card PIN
๐Ÿ“ POST/card/bindBind card by last 4 digits and activation code

๐Ÿ“– Detailed Documentation

Create a new card issuer

POST/card/issuer/create
Full URL
https://api.market.decenctype.com/card/issuer/create

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
codestringโœ…ๅ‘ๅกๆœบๆž„ไปฃ็ ๏ผŒๅฆ‚: OUITRUST
descriptionstringโœ…ๅ‘ๅกๆœบๆž„ๆ่ฟฐ (้ป˜่ฎค: NEW ISSUER)
statusstring (ACTIVE, INACTIVE, PENDING, SUSPENDED, DELETED)โœ…ๅ‘ๅกๆœบๆž„็Šถๆ€ (้ป˜่ฎค: ACTIVE)

Description: Create a new card issuer

Operation ID: createCardIssuer

Response Status:

  • โœ… 200: Create a new card issuer
  • โœ… 201: Success

๐Ÿ“‹ Response Examples

response.json
1{
2 "issuerId": "example-id",
3 "code": "example-code",
4 "description": "example-description",
5 "status": "example-status",
6 "cardProducts": [
7 {
8 "cardProductId": "example-id",
9 "issuerId": "example-id",
10 "issuer": "example-issuer",
11 "channelId": "example-id",
12 "channel": "example-channel",
13 "status": "example-status",
14 "product": "example-product",
15 "price": 1,
16 "currency": "example-currency",
17 "type": "example-type",
18 "cardDesign": "example-cardDesign",
19 "designId": "example-id",
20 "country": "example-country",
21 "bin": "example-bin",
22 "description": "example-description",
23 "isGlobal": true,
24 "settings": "example-settings"
25 }
26 ],
27 "cardChannels": [
28 {
29 "channelId": "example-id",
30 "issuerId": "example-id",
31 "issuer": "example-issuer",
32 "code": "example-code",
33 "channelConfig": {},
34 "description": "example-description",
35 "status": "example-status",
36 "cardProducts": [
37 {
38 "cardProductId": "example-id",
39 "issuerId": "example-id",
40 "issuer": "example-issuer",
41 "channelId": "example-id",
42 "channel": "example-channel",
43 "status": "example-status",
44 "product": "example-product",
45 "price": 1,
46 "currency": "example-currency",
47 "type": "example-type",
48 "cardDesign": "example-cardDesign",
49 "designId": "example-id",
50 "country": "example-country",
51 "bin": "example-bin",
52 "description": "example-description",
53 "isGlobal": true,
54 "settings": "example-settings"
55 }
56 ],
57 "binList": [
58 "example-item"
59 ]
60 }
61 ]
62}

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/issuer/create" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "code": "NEW ISSUER",
  "description": "ๅ‘ๅกๆœบๆž„ๆ่ฟฐ",
  "status": "ACTIVE"
}'

Get card issuer list

GET/card/issuer/list
Full URL
https://api.market.decenctype.com/card/issuer/list

๐Ÿ“‹ Query Parameters

ParameterTypeRequiredDescription
codestringโŒIssuer code to filter the list
sortFieldstringโŒๆŽ’ๅบๅญ—ๆฎต
sortstringโŒๆŽ’ๅบๆ–นๅผ
pagenumberโŒ้กต็ ๏ผˆไปŽ1ๅผ€ๅง‹๏ผ‰
pageSizenumberโŒๆฏ้กตๆกๆ•ฐ

Description: Get card issuer list

Operation ID: getCardIssuer

Response Status:

  • โœ… 200: List of card channels

๐Ÿ“‹ Response Examples

response.json
1{
2 "items": [
3 {
4 "issuerId": "example-id",
5 "code": "example-code",
6 "description": "example-description",
7 "status": "example-status",
8 "cardProducts": [
9 {
10 "cardProductId": "example-id",
11 "issuerId": "example-id",
12 "issuer": "example-issuer",
13 "channelId": "example-id",
14 "channel": "example-channel",
15 "status": "example-status",
16 "product": "example-product",
17 "price": 1,
18 "currency": "example-currency",
19 "type": "example-type",
20 "cardDesign": "example-cardDesign",
21 "designId": "example-id",
22 "country": "example-country",
23 "bin": "example-bin",
24 "description": "example-description",
25 "isGlobal": true,
26 "settings": "example-settings"
27 }
28 ],
29 "cardChannels": [
30 {
31 "channelId": "example-id",
32 "issuerId": "example-id",
33 "issuer": "example-issuer",
34 "code": "example-code",
35 "channelConfig": {},
36 "description": "example-description",
37 "status": "example-status",
38 "cardProducts": [
39 {
40 "cardProductId": "example-id",
41 "issuerId": "example-id",
42 "issuer": "example-issuer",
43 "channelId": "example-id",
44 "channel": "example-channel",
45 "status": "example-status",
46 "product": "example-product",
47 "price": 1,
48 "currency": "example-currency",
49 "type": "example-type",
50 "cardDesign": "example-cardDesign",
51 "designId": "example-id",
52 "country": "example-country",
53 "bin": "example-bin",
54 "description": "example-description",
55 "isGlobal": true,
56 "settings": "example-settings"
57 }
58 ],
59 "binList": [
60 "example-item"
61 ]
62 }
63 ]
64 }
65 ],
66 "meta": "example-meta"
67}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/issuer/list" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Get specific card issuer by ID

GET/card/issuer/{issuerId}
Full URL
https://api.market.decenctype.com/card/issuer/{issuerId}

๐ŸŽฏ Path Parameters

  • issuerId (string) - โœ… Required: No description

Description: Get specific card issuer by ID

Operation ID: getCardIssuerById

Response Status:

  • โœ… 200: Card issuer details

๐Ÿ“‹ Response Examples

response.json
1{
2 "issuerId": "example-id",
3 "code": "example-code",
4 "description": "example-description",
5 "status": "example-status",
6 "cardProducts": [
7 {
8 "cardProductId": "example-id",
9 "issuerId": "example-id",
10 "issuer": "example-issuer",
11 "channelId": "example-id",
12 "channel": "example-channel",
13 "status": "example-status",
14 "product": "example-product",
15 "price": 1,
16 "currency": "example-currency",
17 "type": "example-type",
18 "cardDesign": "example-cardDesign",
19 "designId": "example-id",
20 "country": "example-country",
21 "bin": "example-bin",
22 "description": "example-description",
23 "isGlobal": true,
24 "settings": "example-settings"
25 }
26 ],
27 "cardChannels": [
28 {
29 "channelId": "example-id",
30 "issuerId": "example-id",
31 "issuer": "example-issuer",
32 "code": "example-code",
33 "channelConfig": {},
34 "description": "example-description",
35 "status": "example-status",
36 "cardProducts": [
37 {
38 "cardProductId": "example-id",
39 "issuerId": "example-id",
40 "issuer": "example-issuer",
41 "channelId": "example-id",
42 "channel": "example-channel",
43 "status": "example-status",
44 "product": "example-product",
45 "price": 1,
46 "currency": "example-currency",
47 "type": "example-type",
48 "cardDesign": "example-cardDesign",
49 "designId": "example-id",
50 "country": "example-country",
51 "bin": "example-bin",
52 "description": "example-description",
53 "isGlobal": true,
54 "settings": "example-settings"
55 }
56 ],
57 "binList": [
58 "example-item"
59 ]
60 }
61 ]
62}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/issuer/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Update an existing card issuer

PUT/card/issuer/{issuerId}
Full URL
https://api.market.decenctype.com/card/issuer/{issuerId}

๐ŸŽฏ Path Parameters

  • issuerId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
descriptionstringโœ…ๅ‘ๅกๆœบๆž„ๆ่ฟฐ
statusstring (ACTIVE, INACTIVE, PENDING, SUSPENDED, DELETED)โœ…ๅ‘ๅกๆœบๆž„็Šถๆ€ (้ป˜่ฎค: ACTIVE)

Description: Update an existing card issuer

Operation ID: updateCardIssuer

Response Status:

  • โœ… 200: Update an existing card issuer

๐Ÿ“‹ Response Examples

response.json
1{
2 "issuerId": "example-id",
3 "code": "example-code",
4 "description": "example-description",
5 "status": "example-status",
6 "cardProducts": [
7 {
8 "cardProductId": "example-id",
9 "issuerId": "example-id",
10 "issuer": "example-issuer",
11 "channelId": "example-id",
12 "channel": "example-channel",
13 "status": "example-status",
14 "product": "example-product",
15 "price": 1,
16 "currency": "example-currency",
17 "type": "example-type",
18 "cardDesign": "example-cardDesign",
19 "designId": "example-id",
20 "country": "example-country",
21 "bin": "example-bin",
22 "description": "example-description",
23 "isGlobal": true,
24 "settings": "example-settings"
25 }
26 ],
27 "cardChannels": [
28 {
29 "channelId": "example-id",
30 "issuerId": "example-id",
31 "issuer": "example-issuer",
32 "code": "example-code",
33 "channelConfig": {},
34 "description": "example-description",
35 "status": "example-status",
36 "cardProducts": [
37 {
38 "cardProductId": "example-id",
39 "issuerId": "example-id",
40 "issuer": "example-issuer",
41 "channelId": "example-id",
42 "channel": "example-channel",
43 "status": "example-status",
44 "product": "example-product",
45 "price": 1,
46 "currency": "example-currency",
47 "type": "example-type",
48 "cardDesign": "example-cardDesign",
49 "designId": "example-id",
50 "country": "example-country",
51 "bin": "example-bin",
52 "description": "example-description",
53 "isGlobal": true,
54 "settings": "example-settings"
55 }
56 ],
57 "binList": [
58 "example-item"
59 ]
60 }
61 ]
62}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/issuer/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "description": "ๆ–ฐ็š„ๅ‘ๅกๆœบๆž„",
  "status": "ACTIVE"
}'

Delete a card issuer

DELETE/card/issuer/{issuerId}
Full URL
https://api.market.decenctype.com/card/issuer/{issuerId}

๐ŸŽฏ Path Parameters

  • issuerId (string) - โœ… Required: No description

Description: Delete a card issuer

Operation ID: deleteCardIssuer

Response Status:

  • โœ… 200: Delete a card issuer

๐Ÿ“ Example Request

curl -X DELETE "https://api.market.decenctype.com/card/issuer/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Create a new card channel

POST/card/{issuerId}/channel/create
Full URL
https://api.market.decenctype.com/card/{issuerId}/channel/create

๐ŸŽฏ Path Parameters

  • issuerId (string) - โœ… Required: Issuer ID to create the channel for

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
codestringโœ…ๆธ ้“ไปฃ็ ๏ผŒๅฆ‚: common, ads
descriptionstringโœ…ๆธ ้“ๆ่ฟฐ
statusstring (ACTIVE, INACTIVE, PENDING, SUSPENDED, DELETED)โœ…ๆธ ้“็Šถๆ€ (้ป˜่ฎค: ACTIVE)

Description: Create a new card channel

Operation ID: createCardChannel

Response Status:

  • โœ… 200: Create a new card channel
  • โœ… 201: Success

๐Ÿ“‹ Response Examples

response.json
1{
2 "channelId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "code": "example-code",
6 "channelConfig": {},
7 "description": "example-description",
8 "status": "example-status",
9 "cardProducts": [
10 {
11 "cardProductId": "example-id",
12 "issuerId": "example-id",
13 "issuer": "example-issuer",
14 "channelId": "example-id",
15 "channel": "example-channel",
16 "status": "example-status",
17 "product": "example-product",
18 "price": 1,
19 "currency": "example-currency",
20 "type": "example-type",
21 "cardDesign": "example-cardDesign",
22 "designId": "example-id",
23 "country": "example-country",
24 "bin": "example-bin",
25 "description": "example-description",
26 "isGlobal": true,
27 "settings": "example-settings"
28 }
29 ],
30 "binList": [
31 "example-item"
32 ]
33}

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/example-id/channel/create" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "code": "NEW CHANNEL",
  "description": "่ฟ™ๆ˜ฏไธ€ไธชๆ–ฐๆธ ้“",
  "status": "ACTIVE"
}'

Get card channel list

GET/card/{issuer}/channel/list
Full URL
https://api.market.decenctype.com/card/{issuer}/channel/list

๐ŸŽฏ Path Parameters

  • issuer (string) - โœ… Required: Issuer ID to filter the list

๐Ÿ“‹ Query Parameters

ParameterTypeRequiredDescription
codestringโŒChannel code to filter the list
sortFieldstringโŒๆŽ’ๅบๅญ—ๆฎต
sortstringโŒๆŽ’ๅบๆ–นๅผ
pagenumberโŒ้กต็ ๏ผˆไปŽ1ๅผ€ๅง‹๏ผ‰
pageSizenumberโŒๆฏ้กตๆกๆ•ฐ

Description: Get card channel list

Operation ID: getCardChannel

Response Status:

  • โœ… 200: List of card channels

๐Ÿ“‹ Response Examples

response.json
1{
2 "items": [
3 {
4 "channelId": "example-id",
5 "issuerId": "example-id",
6 "issuer": "example-issuer",
7 "code": "example-code",
8 "channelConfig": {},
9 "description": "example-description",
10 "status": "example-status",
11 "cardProducts": [
12 {
13 "cardProductId": "example-id",
14 "issuerId": "example-id",
15 "issuer": "example-issuer",
16 "channelId": "example-id",
17 "channel": "example-channel",
18 "status": "example-status",
19 "product": "example-product",
20 "price": 1,
21 "currency": "example-currency",
22 "type": "example-type",
23 "cardDesign": "example-cardDesign",
24 "designId": "example-id",
25 "country": "example-country",
26 "bin": "example-bin",
27 "description": "example-description",
28 "isGlobal": true,
29 "settings": "example-settings"
30 }
31 ],
32 "binList": [
33 "example-item"
34 ]
35 }
36 ],
37 "meta": "example-meta"
38}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/example-issuer/channel/list" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Get card channel BIN list

GET/card/channel/bin-list
Full URL
https://api.market.decenctype.com/card/channel/bin-list

๐Ÿ” Authentication: Required (see authentication section above)

Description: Get card channel BIN list

Operation ID: getCardChannelBinList

Response Status:

  • โœ… 200: BIN list for specific card channel

This endpoint retrieves the BIN list for a specific card channel and issuer.

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/channel/bin-list" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Get specific card channel by ID

GET/card/channel/{channelId}
Full URL
https://api.market.decenctype.com/card/channel/{channelId}

๐ŸŽฏ Path Parameters

  • channelId (string) - โœ… Required: No description

Description: Get specific card channel by ID

Operation ID: getCardChannelById

Response Status:

  • โœ… 200: Card channel details

๐Ÿ“‹ Response Examples

response.json
1{
2 "channelId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "code": "example-code",
6 "channelConfig": {},
7 "description": "example-description",
8 "status": "example-status",
9 "cardProducts": [
10 {
11 "cardProductId": "example-id",
12 "issuerId": "example-id",
13 "issuer": "example-issuer",
14 "channelId": "example-id",
15 "channel": "example-channel",
16 "status": "example-status",
17 "product": "example-product",
18 "price": 1,
19 "currency": "example-currency",
20 "type": "example-type",
21 "cardDesign": "example-cardDesign",
22 "designId": "example-id",
23 "country": "example-country",
24 "bin": "example-bin",
25 "description": "example-description",
26 "isGlobal": true,
27 "settings": "example-settings"
28 }
29 ],
30 "binList": [
31 "example-item"
32 ]
33}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/channel/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Update an existing card channel

PUT/card/channel/{channelId}
Full URL
https://api.market.decenctype.com/card/channel/{channelId}

๐ŸŽฏ Path Parameters

  • channelId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
namestringโœ…ๆธ ้“ๅ็งฐ
descriptionstringโœ…ๆธ ้“ๆ่ฟฐ
statusstring (ACTIVE, INACTIVE, PENDING, SUSPENDED, DELETED)โœ…ๆธ ้“็Šถๆ€ (้ป˜่ฎค: ACTIVE)

Description: Update an existing card channel

Operation ID: updateCardChannel

Response Status:

  • โœ… 200: Update an existing card channel

๐Ÿ“‹ Response Examples

response.json
1{
2 "channelId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "code": "example-code",
6 "channelConfig": {},
7 "description": "example-description",
8 "status": "example-status",
9 "cardProducts": [
10 {
11 "cardProductId": "example-id",
12 "issuerId": "example-id",
13 "issuer": "example-issuer",
14 "channelId": "example-id",
15 "channel": "example-channel",
16 "status": "example-status",
17 "product": "example-product",
18 "price": 1,
19 "currency": "example-currency",
20 "type": "example-type",
21 "cardDesign": "example-cardDesign",
22 "designId": "example-id",
23 "country": "example-country",
24 "bin": "example-bin",
25 "description": "example-description",
26 "isGlobal": true,
27 "settings": "example-settings"
28 }
29 ],
30 "binList": [
31 "example-item"
32 ]
33}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/channel/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "name": "ๆ›ดๆ–ฐ็š„ๆธ ้“ๅ็งฐ",
  "description": "ๆ›ดๆ–ฐ็š„ๆธ ้“ๆ่ฟฐ",
  "status": "ACTIVE"
}'

Delete a card channel

DELETE/card/channel/{channelId}
Full URL
https://api.market.decenctype.com/card/channel/{channelId}

๐ŸŽฏ Path Parameters

  • channelId (string) - โœ… Required: No description

Description: Delete a card channel

Operation ID: deleteCardChannel

Response Status:

  • โœ… 200: Delete a card channel

๐Ÿ“ Example Request

curl -X DELETE "https://api.market.decenctype.com/card/channel/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Create card product for merchant

POST/card/product/create
Full URL
https://api.market.decenctype.com/card/product/create

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
merchantIdstringโŒๅ•†ๆˆท ID
issuerIdstringโœ…ๅ‘ๅกๆ–นID
channelIdstringโœ…ๆธ ้“ID
productstringโœ…ไบงๅ“ๅ็งฐ
pricenumberโœ…ไบงๅ“ไปทๆ ผ
currencystringโœ…่ดงๅธ็ฑปๅž‹
typestring (PHYSICAL_CARD, VIRTUAL_CARD)โœ…ๅก็ฑปๅž‹
cardDesignstringโŒๅก็‰‡่ฎพ่ฎก
countrystringโŒๅ›ฝๅฎถไปฃ็ 
binstringโŒๅกBIN
descriptionstringโŒๆ่ฟฐไฟกๆฏ
isGlobalbooleanโŒๆ˜ฏๅฆๅ…จๅฑ€ๅฏ็”จ (้ป˜่ฎค: false)
statusstring (ACTIVE, INACTIVE, SUSPENDED)โŒๅกไบงๅ“็Šถๆ€ (้ป˜่ฎค: ACTIVE)
settingsobjectโŒๅกไบงๅ“็‰นๅฎš้…็ฝฎ

Description: Create card product for merchant

Operation ID: createCardProductForMerchant

Response Status:

  • โœ… 200: Create card for merchant
  • โœ… 201: Success

A merchantId is only required when creating a card product not through an oauth app of specified merchant

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardProductId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "channelId": "example-id",
6 "channel": "example-channel",
7 "merchantId": "example-id",
8 "merchant": "example-merchant",
9 "status": "example-status",
10 "product": "example-product",
11 "price": 1,
12 "currency": "example-currency",
13 "type": "example-type",
14 "cardDesign": "example-cardDesign",
15 "designId": "example-id",
16 "country": "example-country",
17 "bin": "example-bin",
18 "description": "example-description",
19 "isGlobal": true,
20 "settings": "example-settings"
21}

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/product/create" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "issuerId": "example-id",
  "channelId": "example-id",
  "product": "example-product",
  "price": 1,
  "currency": "example-currency",
  "type": "PHYSICAL_CARD"
}'

Get card product list

GET/card/products
Full URL
https://api.market.decenctype.com/card/products

๐Ÿ“‹ Query Parameters

ParameterTypeRequiredDescription
sortFieldstringโŒๆŽ’ๅบๅญ—ๆฎต
sortstringโŒๆŽ’ๅบๆ–นๅผ
pagenumberโŒ้กต็ ๏ผˆไปŽ1ๅผ€ๅง‹๏ผ‰
pageSizenumberโŒๆฏ้กตๆกๆ•ฐ
productstringโŒไบงๅ“ๅ็งฐๅ…ณ้”ฎๅญ—
currencystringโŒ่ดงๅธ็ฑปๅž‹
typestringโŒๅก็ฑปๅž‹
issuerCodestringโŒๅ‘ๅกๆ–นไปฃๅท
channelCodestringโŒๆธ ้“ไปฃๅท
includeGlobalbooleanโŒๆ˜ฏๅฆๅŒ…ๆ‹ฌๅ…จๅฑ€ๅกไบงๅ“
statusstringโŒๅกไบงๅ“็Šถๆ€

Description: Get card product list

Operation ID: getCardProduct

Response Status:

  • โœ… 200: List of card products

๐Ÿ“‹ Response Examples

response.json
1{
2 "items": [
3 {
4 "cardProductId": "example-id",
5 "issuerId": "example-id",
6 "issuer": "example-issuer",
7 "channelId": "example-id",
8 "channel": "example-channel",
9 "status": "example-status",
10 "product": "example-product",
11 "price": 1,
12 "currency": "example-currency",
13 "type": "example-type",
14 "cardDesign": "example-cardDesign",
15 "designId": "example-id",
16 "country": "example-country",
17 "bin": "example-bin",
18 "description": "example-description",
19 "isGlobal": true,
20 "settings": "example-settings"
21 }
22 ],
23 "meta": "example-meta"
24}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/products" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Get specific card product by ID

GET/card/product/{cardProductId}
Full URL
https://api.market.decenctype.com/card/product/{cardProductId}

๐ŸŽฏ Path Parameters

  • cardProductId (string) - โœ… Required: No description

Description: Get specific card product by ID

Operation ID: getCardProductById

Response Status:

  • โœ… 200: Card product details

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardProductId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "channelId": "example-id",
6 "channel": "example-channel",
7 "merchantId": "example-id",
8 "merchant": "example-merchant",
9 "status": "example-status",
10 "product": "example-product",
11 "price": 1,
12 "currency": "example-currency",
13 "type": "example-type",
14 "cardDesign": "example-cardDesign",
15 "designId": "example-id",
16 "country": "example-country",
17 "bin": "example-bin",
18 "description": "example-description",
19 "isGlobal": true,
20 "settings": "example-settings"
21}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/product/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Update card product for merchant

PUT/card/product/{cardProductId}
Full URL
https://api.market.decenctype.com/card/product/{cardProductId}

๐ŸŽฏ Path Parameters

  • cardProductId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
merchantIdstringโŒๅ•†ๆˆท ID
issuerIdstringโœ…ๅ‘ๅกๆ–นID
channelIdstringโœ…ๆธ ้“ID
productstringโœ…ไบงๅ“ๅ็งฐ
pricenumberโœ…ไบงๅ“ไปทๆ ผ
currencystringโœ…่ดงๅธ็ฑปๅž‹
typestring (PHYSICAL_CARD, VIRTUAL_CARD)โœ…ๅก็ฑปๅž‹
cardDesignstringโŒๅก็‰‡่ฎพ่ฎก
countrystringโŒๅ›ฝๅฎถไปฃ็ 
binstringโŒๅกBIN
descriptionstringโŒๆ่ฟฐไฟกๆฏ
isGlobalbooleanโŒๆ˜ฏๅฆๅ…จๅฑ€ๅฏ็”จ (้ป˜่ฎค: false)
statusstring (ACTIVE, INACTIVE, SUSPENDED)โŒๅกไบงๅ“็Šถๆ€ (้ป˜่ฎค: ACTIVE)
settingsobjectโŒๅกไบงๅ“็‰นๅฎš้…็ฝฎ

Description: Update card product for merchant

Operation ID: updateCardProductForMerchant

Response Status:

  • โœ… 200: Update card for merchant

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardProductId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "channelId": "example-id",
6 "channel": "example-channel",
7 "merchantId": "example-id",
8 "merchant": "example-merchant",
9 "status": "example-status",
10 "product": "example-product",
11 "price": 1,
12 "currency": "example-currency",
13 "type": "example-type",
14 "cardDesign": "example-cardDesign",
15 "designId": "example-id",
16 "country": "example-country",
17 "bin": "example-bin",
18 "description": "example-description",
19 "isGlobal": true,
20 "settings": "example-settings"
21}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/product/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "issuerId": "example-id",
  "channelId": "example-id",
  "product": "example-product",
  "price": 1,
  "currency": "example-currency",
  "type": "PHYSICAL_CARD"
}'

Delete card product for merchant

DELETE/card/product/{cardProductId}
Full URL
https://api.market.decenctype.com/card/product/{cardProductId}

๐ŸŽฏ Path Parameters

  • cardProductId (string) - โœ… Required: No description

Description: Delete card product for merchant

Operation ID: deleteCardProductForMerchant

Response Status:

  • โœ… 200: Delete card for merchant

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardProductId": "example-id",
3 "issuerId": "example-id",
4 "issuer": "example-issuer",
5 "channelId": "example-id",
6 "channel": "example-channel",
7 "merchantId": "example-id",
8 "merchant": "example-merchant",
9 "status": "example-status",
10 "product": "example-product",
11 "price": 1,
12 "currency": "example-currency",
13 "type": "example-type",
14 "cardDesign": "example-cardDesign",
15 "designId": "example-id",
16 "country": "example-country",
17 "bin": "example-bin",
18 "description": "example-description",
19 "isGlobal": true,
20 "settings": "example-settings"
21}

๐Ÿ“ Example Request

curl -X DELETE "https://api.market.decenctype.com/card/product/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Update 3DS forwarding method for a card

PUT/card/{cardId}/3ds-forwarding
Full URL
https://api.market.decenctype.com/card/{cardId}/3ds-forwarding

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
methodstring (enroll, biometricEnroll, smsEnroll)โœ…The ID of the card to update (้ป˜่ฎค: enroll)

Description: Update 3DS forwarding method for a card

Operation ID: update3dsForwarding

Response Status:

  • โœ… 200: Success

This is used to update the 3DS forwarding method for a card, only support cards from Reap for now

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/example-id/3ds-forwarding" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "method": "enroll"
}'

Get cards by user ID

GET/card/user
Full URL
https://api.market.decenctype.com/card/user

๐Ÿ“‹ Query Parameters

ParameterTypeRequiredDescription
sortFieldstringโŒๆŽ’ๅบๅญ—ๆฎต
sortstringโŒๆŽ’ๅบๆ–นๅผ
pagenumberโŒ้กต็ ๏ผˆไปŽ1ๅผ€ๅง‹๏ผ‰
pageSizenumberโŒๆฏ้กตๆกๆ•ฐ
userIdstringโœ…The ID of the user (็คบไพ‹: 123e4567-e89b-12d3-a456-426614174000)
statusstringโŒThe status of the card (็คบไพ‹: ACTIVE)

Description: Get cards by user ID

Operation ID: getCardsByUserId

Response Status:

  • โœ… 200: ่Žทๅ–ๆŒ‡ๅฎš็”จๆˆท็š„ๆ‰€ๆœ‰ๅก็‰‡

๐Ÿ“‹ Response Examples

response.json
1{
2 "items": [
3 {
4 "cardId": "123e4567-e89b-12d3-a456-426614174000",
5 "orderCard": {},
6 "pan": "4111111111111111",
7 "expiryDate": "12/28",
8 "cvv": "123",
9 "pin": "0000",
10 "nameOnCard": "JOHN DOE",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "type": "VIRTUAL_CARD",
20 "status": "ACTIVE",
21 "rejectedCount": 2,
22 "cardProductId": "PROD-VISA-PREMIUM",
23 "cardProduct": {},
24 "user": {},
25 "dailyVolume": 1500,
26 "monthlyVolume": 25000,
27 "monthlyTopup": 30000,
28 "securityMethod": "enroll",
29 "cardType": "Recurring",
30 "managementFeeCharged": true,
31 "isDelivery": true,
32 "physicalActivate": true,
33 "last4": "1234",
34 "accountBalance": 1000.5,
35 "amountTopUp": 5000,
36 "amountSpent": 4000.5,
37 "currency": "USD",
38 "balanceRatio": 0.8,
39 "accountingModeDisplay": "Fiat Currency",
40 "isCryptoMode": false,
41 "isFiatMode": true
42 }
43 ],
44 "meta": "example-meta"
45}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/user" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Find card by ID

GET/card/{cardId}
Full URL
https://api.market.decenctype.com/card/{cardId}

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Find card by ID

Operation ID: getCardById

Response Status:

  • โœ… 200: Card details

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Search cards by various criteria

GET/card/search
Full URL
https://api.market.decenctype.com/card/search

๐Ÿ“‹ Query Parameters

ParameterTypeRequiredDescription
sortFieldstringโŒๆŽ’ๅบๅญ—ๆฎต
sortstringโŒๆŽ’ๅบๆ–นๅผ
pagenumberโŒ้กต็ ๏ผˆไปŽ1ๅผ€ๅง‹๏ผ‰
pageSizenumberโŒๆฏ้กตๆกๆ•ฐ
statusstringโŒThe status of the card (็คบไพ‹: ACTIVE)
searchstringโŒCondition to search for, e.g. card number, card holder name, etc. (็คบไพ‹: 3456)

Description: Search cards by various criteria

Operation ID: searchCards

Response Status:

  • โœ… 200: ๆ นๆฎๆกไปถๆœ็ดขๅก็‰‡

๐Ÿ“‹ Response Examples

response.json
1{
2 "items": [
3 {
4 "cardId": "123e4567-e89b-12d3-a456-426614174000",
5 "orderCard": {},
6 "pan": "4111111111111111",
7 "expiryDate": "12/28",
8 "cvv": "123",
9 "pin": "0000",
10 "nameOnCard": "JOHN DOE",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "type": "VIRTUAL_CARD",
20 "status": "ACTIVE",
21 "rejectedCount": 2,
22 "cardProductId": "PROD-VISA-PREMIUM",
23 "cardProduct": {},
24 "user": {},
25 "dailyVolume": 1500,
26 "monthlyVolume": 25000,
27 "monthlyTopup": 30000,
28 "securityMethod": "enroll",
29 "cardType": "Recurring",
30 "managementFeeCharged": true,
31 "isDelivery": true,
32 "physicalActivate": true,
33 "last4": "1234",
34 "accountBalance": 1000.5,
35 "amountTopUp": 5000,
36 "amountSpent": 4000.5,
37 "currency": "USD",
38 "balanceRatio": 0.8,
39 "accountingModeDisplay": "Fiat Currency",
40 "isCryptoMode": false,
41 "isFiatMode": true
42 }
43 ],
44 "meta": "example-meta"
45}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/search" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Update an existing card

PUT/card/{cardId}/update
Full URL
https://api.market.decenctype.com/card/{cardId}/update

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
statusstringโŒ

Description: Update an existing card

Operation ID: updateCard

Response Status:

  • โœ… 200: Card updated successfully

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/example-id/update" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{}'

Lock a card

PUT/card/{cardId}/lock
Full URL
https://api.market.decenctype.com/card/{cardId}/lock

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Lock a card

Operation ID: lockCard

Response Status:

  • โœ… 200: Card locked successfully

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/example-id/lock" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Unlock a card

PUT/card/{cardId}/unlock
Full URL
https://api.market.decenctype.com/card/{cardId}/unlock

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Unlock a card

Operation ID: unlockCard

Response Status:

  • โœ… 200: Card unlocked successfully

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/example-id/unlock" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Delete a card

DELETE/card/{cardId}/delete
Full URL
https://api.market.decenctype.com/card/{cardId}/delete

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Delete a card

Operation ID: deleteCard

Response Status:

  • โœ… 200: Card deleted successfully

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X DELETE "https://api.market.decenctype.com/card/example-id/delete" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Activate a card

PUT/card/{cardId}/activate
Full URL
https://api.market.decenctype.com/card/{cardId}/activate

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
codestringโœ…The activation code for the card
pinstringโŒPin code to set (ๆœ€ๅฐ้•ฟๅบฆ: 4, ๆœ€ๅคง้•ฟๅบฆ: 6)
cardIdstringโœ…

Description: Activate a card

Operation ID: activateCard

Response Status:

  • โœ… 200: Card activated successfully

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/example-id/activate" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "code": "123456",
  "cardId": "example-id"
}'

Get card sensitive information

GET/card/{cardId}/sensitive-info
Full URL
https://api.market.decenctype.com/card/{cardId}/sensitive-info

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Get card sensitive information

Operation ID: getCardSensitiveInfo

Response Status:

  • โœ… 200: Card sensitive information retrieved

๐Ÿ“‹ Response Examples

response.json
1{
2 "pan": "example-pan",
3 "cvv": "example-cvv",
4 "expiryDate": "example-expiryDate",
5 "pin": "example-pin",
6 "accessUrl": "https://example.com"
7}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/example-id/sensitive-info" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Get card balance

GET/card/{cardId}/balance
Full URL
https://api.market.decenctype.com/card/{cardId}/balance

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Get card balance

Operation ID: getCardBalance

Response Status:

  • โœ… 200: Card balance retrieved

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/example-id/balance" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Get card available balance

GET/card/{cardId}/available-balance
Full URL
https://api.market.decenctype.com/card/{cardId}/available-balance

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

Description: Get card available balance

Operation ID: getCardAvailableBalance

Response Status:

  • โœ… 200: Card available balance retrieved

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/example-id/available-balance" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Charge a card (add funds)

POST/card/{cardId}/credit
Full URL
https://api.market.decenctype.com/card/{cardId}/credit

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
amountnumberโœ…Amount to charge to the card (ๆœ€ๅฐ: 0.01)
paymentMethodstring (crypto, fiat)โŒๆ”ฏไป˜ๆ–นๅผ for the charge
descriptionstringโŒOptional description for the charge

Description: Charge a card (add funds)

Operation ID: chargeCard

Response Status:

  • โœ… 200: Card charged successfully
  • โœ… 201: Success

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/example-id/credit" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "amount": 100.5
}'

Debit a card (deduct funds)

POST/card/{cardId}/debit
Full URL
https://api.market.decenctype.com/card/{cardId}/debit

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
amountnumberโœ…Amount to debit from the card (ๆœ€ๅฐ: 0.01)
descriptionstringโŒOptional description for the debit

Description: Debit a card (deduct funds)

Operation ID: debitCard

Response Status:

  • โœ… 200: Card debited successfully
  • โœ… 201: Success

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/example-id/debit" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "amount": 50.25
}'

Transfer funds between cards

POST/card/transfer
Full URL
https://api.market.decenctype.com/card/transfer

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
fromCardIdstringโœ…ID of the source card
toCardIdstringโœ…ID of the destination card
amountnumberโœ…Amount to transfer (ๆœ€ๅฐ: 0.01)
descriptionstringโŒOptional description for the transfer

Description: Transfer funds between cards

Operation ID: transferCard

Response Status:

  • โœ… 200: Card transfer completed successfully
  • โœ… 201: Success

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/transfer" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "fromCardId": "123e4567-e89b-12d3-a456-426614174001",
  "toCardId": "123e4567-e89b-12d3-a456-426614174001",
  "amount": 75
}'

Test Sunrate API connection, IP whitelist and encryption algorithm

GET/card/sunrate/test-connection
Full URL
https://api.market.decenctype.com/card/sunrate/test-connection

๐Ÿ” Authentication: Required (see authentication section above)

Description: Test Sunrate API connection, IP whitelist and encryption algorithm

Operation ID: testSunrateConnection

Response Status:

  • โœ… 200: Sunrate API test results

๐Ÿ“ Example Request

curl -X GET "https://api.market.decenctype.com/card/sunrate/test-connection" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json"

Test endpoint for decrypting a payload.

POST/card/sunrate/test-decrypt
Full URL
https://api.market.decenctype.com/card/sunrate/test-decrypt

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
codestringโœ…Response code from Sunrate API
keystringโŒEncrypted AES key (Base64 encoded) if the responseBody is encrypted.
msgstringโœ…Response message from Sunrate API
msgIdstringโœ…Unique message ID for the request/response pair
responseBodystringโŒEncrypted response body (Base64 encoded) or plain JSON string.
signstringโœ…Signature of the response parameters (Base64 encoded).
timestampstringโœ…Timestamp of the response from Sunrate API (ISO 8601 format)
requestBodystringโŒEncrypted response body (Base64 encoded) or plain JSON string.

Description: Test endpoint for decrypting a payload.

Operation ID: testDecrypt

Response Status:

  • โœ… 201: Success

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/sunrate/test-decrypt" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "code": "000000",
  "msg": "ๆˆๅŠŸ",
  "msgId": "1928366834062913538",
  "sign": "kZYFOPXZewXszTAstzBGarpv9t4QgRWIwK/qMS6XdRYUoMvYFszXifY0i472WpE+rp+39Iz4cciLjoAxxTFlOwCLEa+82V4GqUIIWxOjMBSOfCrJJXGEk/cHCd4A7j2w/+iiWJVFAn8ggjzlmweuUHfraRKinCGZK6oX6v/cdsqMm6S0jWhrgCxFGTy9AKIILFJl0qzNPKobPG42/fJ+JSuwN525vbMET2omySRtJ+cDYLMAZ+HePB/MVR/6bx0J4kQPm591Gx8xnkV7MRWkC7bQPSG0373dmKXbihGiF6C8Y34rmo4Vsc2L9piOJD+J+2vwQyqkAsexCpZcGGpjsg==",
  "timestamp": "2025-05-30T16:24:15.220"
}'

PUT /card/sunrate/velocity-limits/{cardId}

PUT/card/sunrate/velocity-limits/{cardId}
Full URL
https://api.market.decenctype.com/card/sunrate/velocity-limits/{cardId}

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
dailyMaxTransnumberโŒDaily maximum transaction count (ๆœ€ๅฐ: 0)
monthlyMaxTransnumberโŒMonthly maximum transaction count (ๆœ€ๅฐ: 0)
cycleMaxTransnumberโŒCycle maximum transaction count (ๆœ€ๅฐ: 0)

Operation ID: updateSunrateVelocityLimits

Response Status:

  • โœ… 200: Sunrate velocity limits updated successfully

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/sunrate/velocity-limits/example-id" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{}'

Withdraw funds from a card

POST/card/{cardId}/withdraw
Full URL
https://api.market.decenctype.com/card/{cardId}/withdraw

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
amountnumberโŒAmount to withdraw from the card (ๆœ€ๅฐ: 0.01)
descriptionstringโŒOptional description for the withdrawal
fullWithdrawalbooleanโŒWhether this is a full withdrawal (withdraw all balance)

Description: Withdraw funds from a card

Operation ID: withdrawFromCard

Response Status:

  • โœ… 200: Card withdrawal completed successfully
  • โœ… 201: Success

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/example-id/withdraw" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{}'

Respond to 3DS verification

POST/card/{cardId}/3ds-verification
Full URL
https://api.market.decenctype.com/card/{cardId}/3ds-verification

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: No description

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
initiateActionIdstringโœ…The ID of the initiate action
approvebooleanโœ…Whether to approve the 3DS verification

Description: Respond to 3DS verification

Operation ID: respond3DSVerification

Response Status:

  • โœ… 200: 3DS verification completed successfully
  • โœ… 201: Success

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/example-id/3ds-verification" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "initiateActionId": "123e4567-e89b-12d3-a456-426614174000",
  "approve": true
}'

Update card PIN

PUT/card/{cardId}/pin
Full URL
https://api.market.decenctype.com/card/{cardId}/pin

๐ŸŽฏ Path Parameters

  • cardId (string) - โœ… Required: Card ID

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
pinstringโœ…New PIN for the card (4-12 digits) (ๆœ€ๅฐ้•ฟๅบฆ: 4, ๆœ€ๅคง้•ฟๅบฆ: 12)

Description: Update card PIN

Operation ID: updateCardPin

Response Status:

  • โœ… 200: Card PIN updated successfully

๐Ÿ“‹ Response Examples

response.json
1{
2 "before": "example-before",
3 "after": "example-after"
4}

๐Ÿ“ Example Request

curl -X PUT "https://api.market.decenctype.com/card/example-id/pin" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "pin": "1234"
}'

Bind card by last 4 digits and activation code

POST/card/bind
Full URL
https://api.market.decenctype.com/card/bind

๐Ÿ“ Request Body Parameters

ParameterTypeRequiredDescription
last4stringโœ…Last 4 digits of the card PAN (ๆœ€ๅฐ้•ฟๅบฆ: 4, ๆœ€ๅคง้•ฟๅบฆ: 4)
activateCodestringโœ…Card activation code
pinstringโŒCard PIN (optional) (ๆœ€ๅฐ้•ฟๅบฆ: 4, ๆœ€ๅคง้•ฟๅบฆ: 6)

Description: Bind card by last 4 digits and activation code

Operation ID: bindCardByLast4Digits

Response Status:

  • โœ… 200: Card bound successfully
  • โœ… 201: Success

๐Ÿ“‹ Response Examples

response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}
response.json
1{
2 "cardId": "123e4567-e89b-12d3-a456-426614174000",
3 "orderId": "ORD-2023-12345",
4 "orderCard": {},
5 "pan": "4111111111111111",
6 "expiryDate": "12/28",
7 "cvv": "123",
8 "pin": "0000",
9 "nameOnCard": "JOHN DOE",
10 "alias": "My Shopping Card",
11 "accountingMode": "fiat",
12 "fiatBalance": 1000.5,
13 "fiatAmountTopUp": 5000,
14 "fiatAmountSpent": 4000.5,
15 "fiatCurrency": "USD",
16 "cryptoBalance": 0.12345678,
17 "cryptoAmountTopUp": 1,
18 "cryptoAmountSpent": 0.87654321,
19 "cryptoCurrency": "BTC",
20 "type": "VIRTUAL_CARD",
21 "activateCode": "ACT123456",
22 "status": "ACTIVE",
23 "actionReason": "Customer request",
24 "rejectedCount": 2,
25 "cardProductId": "PROD-VISA-PREMIUM",
26 "cardProduct": {},
27 "userId": "usr_12345678",
28 "user": {},
29 "tagId": "123e4567-e89b-12d3-a456-426614174001",
30 "dailyVolume": 1500,
31 "monthlyVolume": 25000,
32 "monthlyTopup": 30000,
33 "securityMethod": "enroll",
34 "shipmentId": "SHIP-12345-6789",
35 "cardType": "Recurring",
36 "managementFeeCharged": true,
37 "isDelivery": true,
38 "physicalActivate": true,
39 "last4": "1234",
40 "accountBalance": 1000.5,
41 "amountTopUp": 5000,
42 "amountSpent": 4000.5,
43 "currency": "USD",
44 "balanceRatio": 0.8,
45 "accountingModeDisplay": "Fiat Currency",
46 "isCryptoMode": false,
47 "isFiatMode": true
48}

๐Ÿ“ Example Request

curl -X POST "https://api.market.decenctype.com/card/bind" \\
  -H "Authorization: Bearer YOUR_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{
  "last4": "1234",
  "activateCode": "ABC123456"
}'

On this page

๐Ÿ” Authentication๐Ÿ”— Endpoints Overview๐Ÿ“– Detailed DocumentationCreate a new card issuer๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card issuer list๐Ÿ“‹ Query Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet specific card issuer by ID๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestUpdate an existing card issuer๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestDelete a card issuer๐ŸŽฏ Path Parameters๐Ÿ“ Example RequestCreate a new card channel๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card channel list๐ŸŽฏ Path Parameters๐Ÿ“‹ Query Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card channel BIN list๐Ÿ“ Example RequestGet specific card channel by ID๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestUpdate an existing card channel๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestDelete a card channel๐ŸŽฏ Path Parameters๐Ÿ“ Example RequestCreate card product for merchant๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card product list๐Ÿ“‹ Query Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet specific card product by ID๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestUpdate card product for merchant๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestDelete card product for merchant๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestUpdate 3DS forwarding method for a card๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestGet cards by user ID๐Ÿ“‹ Query Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestFind card by ID๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestSearch cards by various criteria๐Ÿ“‹ Query Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestUpdate an existing card๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestLock a card๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestUnlock a card๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestDelete a card๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestActivate a card๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card sensitive information๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card balance๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestGet card available balance๐ŸŽฏ Path Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestCharge a card (add funds)๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestDebit a card (deduct funds)๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestTransfer funds between cards๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestTest Sunrate API connection, IP whitelist and encryption algorithm๐Ÿ“ Example RequestTest endpoint for decrypting a payload.๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestPUT /card/sunrate/velocity-limits/{cardId}๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestWithdraw funds from a card๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestRespond to 3DS verification๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“ Example RequestUpdate card PIN๐ŸŽฏ Path Parameters๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example RequestBind card by last 4 digits and activation code๐Ÿ“ Request Body Parameters๐Ÿ“‹ Response Examples๐Ÿ“ Example Request