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

X-Ivy-Api-Key
string
header
required

Body

application/json

Response

200 - application/json

The details of the charge

The response is of type object.