Skip to main content
GET
/
crypto
/
credit
Get crypto credit information
curl --request GET \
  --url http://api.obsidiam.com/crypto/credit
{
  "allowance": 0,
  "available": 0,
  "debt": 0
}

Response

default - application/json
allowance
integer
required

Total credit limit available for crypto purchases, represented in cents as an integer (e.g., 100000 = R$ 1,000.00)

Required range: -9007199254740991 <= x <= 9007199254740991
available
integer
required

Available credit remaining (allowance minus outstanding debt), represented in cents as an integer (e.g., 50000 = R$ 500.00)

Required range: -9007199254740991 <= x <= 9007199254740991
debt
integer
required

Total outstanding debt from crypto purchases, represented in cents as an integer (e.g., 50000 = R$ 500.00)

Required range: -9007199254740991 <= x <= 9007199254740991