Set default card design
curl --request PUT \
--url https://sg.sandbox.api.reap.global/card-designs/default \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Reap-Version: <reap-version>' \
--data '
{
"id": "<string>"
}
'const options = {
method: 'PUT',
headers: {
'Reap-Version': '<reap-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({id: '<string>'})
};
fetch('https://sg.sandbox.api.reap.global/card-designs/default', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/card-designs/default"
payload = { "id": "<string>" }
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": {
"code": "CARD_DESIGN_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CARD_DESIGN_NOT_ACTIVE",
"message": "<string>",
"detail": {}
}
}Card Designs
Set default card design
Sets the card design used by default when issuing cards. The design should be active.
PUT
/
card-designs
/
default
Set default card design
curl --request PUT \
--url https://sg.sandbox.api.reap.global/card-designs/default \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Reap-Version: <reap-version>' \
--data '
{
"id": "<string>"
}
'const options = {
method: 'PUT',
headers: {
'Reap-Version': '<reap-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({id: '<string>'})
};
fetch('https://sg.sandbox.api.reap.global/card-designs/default', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/card-designs/default"
payload = { "id": "<string>" }
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": {
"code": "CARD_DESIGN_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CARD_DESIGN_NOT_ACTIVE",
"message": "<string>",
"detail": {}
}
}Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
Available options:
2025-02-14 Example:
"2025-02-14"
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Card design to set as the project default
Response
Response for status 204