Skip to main content
POST
/
payments
cURL
curl --request POST \
  --url https://api.example.com/payments \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "amountInEuroCents": 123,
  "stripeCustomerId": "<string>",
  "paymentMode": "DIRECT_DEBIT",
  "paymentMethodId": "<string>"
}
'
{
  "id": "<string>"
}

Body

application/json
metadata
object[]
required

metadata assigned to the object

amountInEuroCents
number
required

the amount to charge in cents of euro

stripeCustomerId
string
required

the id of the stripe customer

paymentMode
enum<string>
required

the payment mode

Available options:
DIRECT_DEBIT,
BANK_TRANSFER
paymentMethodId
string

the id of the payment method

Response

id
string
required

the id of the payment