test

<p><code>{
    "id": "ch_9LVKD8GnAj7f39DFbn4F16bE",
    "redirectUrl": "https://c.yoco.com/checkout/ch_9LVKD8GnAj7f39DFbn4F16bE",
    "status": "created",
    "amount": {calculation-13},
    "currency": "ZAR",
    "paymentId": null,
    "cancelUrl": null,
    "successUrl": null,
    "failureUrl": null,
    "metadata": {
        "checkoutId": "ch_9LVKD8GnAj7f39DFbn4F16bE",
        "paymentFacilitator": "yoco-online-checkout"
    },
    "merchantId": "1687579359397-9ecd46a3-83f9-4563-8def-20ac11p67087",
    "totalDiscount": null,
    "totalTaxAmount": null,
    "subtotalAmount": null,
    "lineItems": null,
    "externalId": null,
    "processingMode": "live"
}</code></p>

curl --location --request POST 'https://payments.yoco.com/api/checkouts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <secret-key>' \
--data-raw '{
  "amount": 900,
  "currency": "ZAR"
}'