List payment methods for a quote
GET/api/quotes/:id/payment-methods
The methods this quote can be paid with, and whether each works right now for the quote's amount. Call it before Pay rather than hard-coding a list. Like Get a quote, it claims an ownerless quote. Signature only; a user session is not accepted. The sender account is named in X-Sender-Account-Id, which is outside the signature: it must belong to the organization of the API key. Missing header: 401 unauthenticated. Malformed, unknown or another organization's account: 403 forbidden (the same answer for all three).
Request
Responses
- 200
- 401
- 403
- 404
- 500
Allowed methods and their availability.
Signature missing or invalid (Unauthorized), or X-Sender-Account-Id missing (unauthenticated).
X-Sender-Account-Id is malformed, unknown or belongs to another organization.
not_found_or_forbidden: no such quote (including a malformed id), or not this sender's.
Internal error; error carries the message, not a code.