Top up a card's funding account from the programme float
POST
/v1/cards/{id}/topupRequires an API client bearer token.
Moves money from the programme float onto the funding account of the named card. This moves money; it does not create it — see CardTopupRequest. Requires an Idempotency-Key header.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Header parameters
| Name | Required | Description |
|---|---|---|
| Idempotency-Key | required | Client-chosen. An identical retry with the same key returns the stored response; reusing the key with a different payload returns 409. |
Request body
amountobjectrequired
+ show properties− hide properties
amountstringrequired
currency"EUR" | "GBP" | "USD"required
referencestring
Example
curl -X POST https://api.rigid.fi/v1/cards/{id}/topup \
-H "Authorization: Bearer $RIGID_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"amount": {
"amount": "string",
"currency": "EUR"
}
}'Responses
200Result of the top-up.
card_idstringrequired
funding_account_idstringrequired
source_account_idstringrequired
transfer_idstringrequired
availableobjectrequired
+ show properties− hide properties
amountstringrequired
currency"EUR" | "GBP" | "USD"required
replayedbooleanrequired
400Validation error — including a missing/never-minted programme float, a currency mismatch between the top-up and the funding account, or a programme float that needs filling before it can fund this card
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401Authentication required
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403Forbidden
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404Card not found
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
409Idempotency-Key reused with a different payload, or the card has no funding account (pre-#214)
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500Internal server error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring