Skip to main content
POST
/
cardaccounts
/
simulate-repay
simulate repay card account
curl --request POST \
  --url https://access.utgl.io/v1/cardaccounts/simulate-repay \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardAccountIds": [
    "6e519e8e-15ac-483e-b6ac-d0f42aee36b2"
  ]
}
'
{
  "repayments": [
    {
      "cardAccountId": "<string>",
      "currency": "<string>",
      "repayAmount": 123,
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
cardAccountIds
string[]
required

Response

200 - application/json

Successful repayment simulation

repayments
object[]