root_create
POST /payments/
Creates payment intent
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Request Body
- amount_fiat decimal
Possible values: Value must match regular expression
^\d{0,17}(?:\.\d{0,2})?$
- amount_crypto decimal
Possible values: Value must match regular expression
^\d{0,35}(?:\.\d{0,15})?$
- token string
- currency CurrencyEnum
Possible values: [
EUR
,USD
] metadata object
Request Body
- amount_fiat decimal
Possible values: Value must match regular expression
^\d{0,17}(?:\.\d{0,2})?$
- amount_crypto decimal
Possible values: Value must match regular expression
^\d{0,35}(?:\.\d{0,15})?$
- token string
- currency CurrencyEnum
Possible values: [
EUR
,USD
] metadata object
Request Body
- amount_fiat decimal
Possible values: Value must match regular expression
^\d{0,17}(?:\.\d{0,2})?$
- amount_crypto decimal
Possible values: Value must match regular expression
^\d{0,35}(?:\.\d{0,15})?$
- token string
- currency CurrencyEnum
Possible values: [
EUR
,USD
] metadata object
- 201
- application/json
- Schema
- Example (from schema)
Schema
- amount_fiat decimal
Possible values: Value must match regular expression
^\d{0,17}(?:\.\d{0,2})?$
- amount_crypto decimal
Possible values: Value must match regular expression
^\d{0,35}(?:\.\d{0,15})?$
- token string
- currency CurrencyEnum
Possible values: [
EUR
,USD
] metadata object
{
"amount_fiat": "string",
"amount_crypto": "string",
"token": "string",
"currency": "EUR",
"metadata": {}
}