camp-api/script.sh
Pierre de Lacroix c451662178
WIP
2026-01-22 16:29:25 +01:00

27 lines
757 B
Bash

curl --request POST \
--url https://thirdparty-sandbox.staging.qonto.co/v2/payment_links \
--header 'Authorization: Bearer ory_at_l82B_-dFKvmqmw2wZ3qVuDb85M2jKDUmcX9qUIBu1Bw.SxFi-0Cs2L-kjN5pg9_VeEhHUNo52s3bcqaDsnq2gqs' \
--header 'Content-Type: application/json' \
--header 'X-Qonto-Staging-Token: 0CxYRit4ZV7uwjoUluN93XgQvOt7bke96Nn0x5MUg2w=' \
--data '
{
"payment_link": {
"items": [{
"title": "Participation",
"quantity": 1,
"unit_price": {
"value": "10.99",
"currency": "EUR"
},
"vat_rate": "20.0",
"type": "service",
"description": "Participation",
"measure_unit": "unit"
}],
"potential_payment_methods": [
"credit_card"
],
"reusable": false
}
}
'