Closed tomdaffurn closed 1 month ago
The Example Quote in the protocol readme doesn't match Quote schema.
currencyCode
amount
link
instruction
PaymentInstruction
QuoteDetails
{ "metadata": { "from": "did:ex:pfi", "to": "did:key:z6MkoreC1URMQEVKm8wxzhVFntLzvPXYbtH8CEFNKUcSkLWT", "exchangeId": "rfq_01ha83f661fs2avj6qgdhxpg28", "kind": "quote", "id": "quote_01ha83f663e3e88fshb06h6g78", "createdAt": "2023-09-13T20:24:37.315Z", "protocol": "1.0" }, "data": { "expiresAt": "2023-09-13T23:11:17.315Z", "payin": { "link": "http://cash.app/pfi?currency=usd&amount=50" }, "payout": { "instruction": "BTC will be paid to the provided BTC address", } }, "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa29yZUMxVVJNUUVWS204d3h6aFZGbnRMenZQWFlidEg4Q0VGTktVY1NrTFdUI3o2TWtvcmVDMVVSTVFFVkttOHd4emhWRm50THp2UFhZYnRIOENFRk5LVWNTa0xXVCJ9..R_BBKJoWifPFh10GJ1ij2gCCxND1CdzKbiOgPCIha__0GvRy0rHYCi18-TY7jNARaQ94RHXHYIsCRm2MuOPACw" }
The Example Quote in the protocol readme doesn't match Quote schema.
currencyCode
andamount
are required fieldslink
andinstruction
are fields ofPaymentInstruction
, notQuoteDetails