Merge pull request #5 from TaprootFreak/DFX-proposal-01

DFX proposal 01
This commit is contained in:
2023-10-30 20:27:26 +00:00
committed by GitHub

View File

@@ -123,10 +123,10 @@ Request:
``` ```
POST /quote POST /quote
{ {
"session_id": "d7ef9a88-1ca1-4ac8-bc9e-da3d9824cdc5",
"amount_fiat": 1000, "amount_fiat": 1000,
"currency_id":1 "currency_id":1
} }
@@ -141,7 +141,6 @@ Response:
``` ```
{ {
"session_id": "d7ef9a88-1ca1-4ac8-bc9e-da3d9824cdc5",
"quote_id": "8ed13c2a-a8c6-4f0e-b43e-3fdbf1f094a6", "quote_id": "8ed13c2a-a8c6-4f0e-b43e-3fdbf1f094a6",
"amount_fiat": "1000", "amount_fiat": "1000",
"currency_id": 1, "currency_id": 1,
@@ -304,15 +303,15 @@ If no currency_code is specified in request:
"currency_code": "CHF", "currency_code": "CHF",
"payment_options": [ "payment_options": [
{ {
"option": "SEPA Instant", "option": "Bank transfer",
"id": 2, "id": 1,
"fee_rate": 0.01, "fee_rate": 0.01,
"min_amount": 10, "min_amount": 10,
"max_amount": 1000 "max_amount": 1000
}, },
{ {
"option": "Credit card", "option": "Credit card",
"id": 3, "id": 2,
"fee_rate": 0.05, "fee_rate": 0.05,
"min_amount": 10, "min_amount": 10,
"max_amount": 1000 "max_amount": 1000