POST
/
card-product
/
{cardProductId}
/
setup
curl --request POST \
  --url https://gateway.finhub.cloud/cms/1.0.0/card-product/{cardProductId}/setup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "active": true,
  "currencyCode": "<string>",
  "approvalsOnly": true,
  "usageLimit": 123,
  "amountLimit": 123,
  "validOnCredit": true,
  "validOnPurchase": true,
  "validOnTransfer": true,
  "validOnWithdrawal": true,
  "scopeEntity": "<string>",
  "scopeTime": "<string>"
}'
"<string>"

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

cardProductId
string
required

Body

application/json
name
string
required
active
boolean
required
currencyCode
string
required
approvalsOnly
boolean
required
usageLimit
integer
required
amountLimit
integer
required
validOnCredit
boolean
required
validOnPurchase
boolean
required
validOnTransfer
boolean
required
validOnWithdrawal
boolean
required
scopeEntity
string
required
scopeTime
string
required

Response

500 - text/plain

The response is of type string.