curl --request POST \
--url https://partner-card.test.public.rockerapi.dev/api/engagements/card/{engagement-id}/direct-debit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": {
"amountType": "FULL"
}
}
'{
"amount": {
"fixedAmount": {
"currency": "EUR",
"amount": 150000,
"unit": "MINOR"
},
"amountType": "FIXED"
}
}<string>{
"code": "<string>",
"message": "<string>"
}Card
Update the direct debit settings of an engagement
amount sets how much of each invoice the direct debit collects: FULL for the invoice’s totalAmount, MINIMUM for its minimumAmount, or FIXED for a positive fixedAmount in EUR minor units (cents). Answers 409 when the engagement has no active direct debit mandate.
POST
/
api
/
engagements
/
card
/
{engagement-id}
/
direct-debit
curl --request POST \
--url https://partner-card.test.public.rockerapi.dev/api/engagements/card/{engagement-id}/direct-debit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": {
"amountType": "FULL"
}
}
'{
"amount": {
"fixedAmount": {
"currency": "EUR",
"amount": 150000,
"unit": "MINOR"
},
"amountType": "FIXED"
}
}<string>{
"code": "<string>",
"message": "<string>"
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Body
application/json
- HttpDirectDebitAmountFixed
- HttpDirectDebitAmountFull
- HttpDirectDebitAmountMinimum
Show child attributes
Show child attributes
Response
- HttpDirectDebitAmountFixed
- HttpDirectDebitAmountFull
- HttpDirectDebitAmountMinimum
Show child attributes
Show child attributes

