Charge
Create a Charge
Getting Started
Charge
Capabilities
Subaccount
Banking
Charge
Create a Charge
Creates a Direct Debit Charge with a valid mandate.
POST
/
api
/
service
/
charge
/
create
curl --request POST \
--url https://api.sand.getivy.de/api/service/charge/create \
--header 'Content-Type: application/json' \
--header 'X-Ivy-Api-Key: <api-key>' \
--data '{
"subaccountId": "<string>",
"mandateId": "<string>",
"price": {
"total": 123,
"currency": "EUR",
"subTotal": 123,
"shipping": 123,
"totalNet": 123,
"vat": 123
},
"referenceId": "<string>",
"idempotencyKey": "<string>",
"metadata": {
"verificationToken": "<string>"
}
}'
{
"id": "<string>",
"mandateId": "<string>",
"orderId": "<string>",
"subaccountId": "<string>"
}
Authorizations
Body
application/json
Response
200 - application/json
The details of the charge
The response is of type object
.
curl --request POST \
--url https://api.sand.getivy.de/api/service/charge/create \
--header 'Content-Type: application/json' \
--header 'X-Ivy-Api-Key: <api-key>' \
--data '{
"subaccountId": "<string>",
"mandateId": "<string>",
"price": {
"total": 123,
"currency": "EUR",
"subTotal": 123,
"shipping": 123,
"totalNet": 123,
"vat": 123
},
"referenceId": "<string>",
"idempotencyKey": "<string>",
"metadata": {
"verificationToken": "<string>"
}
}'
{
"id": "<string>",
"mandateId": "<string>",
"orderId": "<string>",
"subaccountId": "<string>"
}