You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

payment.json 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "payment",
  4. "link": "payment",
  5. "type": "object",
  6. "properties": {
  7. "source": {
  8. "$ref": "sourceAdjustment",
  9. "description": "The source of the funds to be sent."
  10. },
  11. "destination": {
  12. "$ref": "destinationAdjustment",
  13. "description": "The destination of the funds to be sent."
  14. },
  15. "paths": {
  16. "type": "string",
  17. "description": "The paths of trustlines and orders to use in executing the payment."
  18. },
  19. "memos": {"$ref": "memos"},
  20. "invoiceID": {
  21. "description": "A 256-bit hash that can be used to identify a particular payment.",
  22. "$ref": "hash256"
  23. },
  24. "allowPartialPayment": {
  25. "description": "If true, this payment can deliver less than the full amount.",
  26. "type": "boolean"
  27. },
  28. "noDirectRipple": {
  29. "description": "If true and paths are specified, the sender would like the XRP Ledger to disregard any direct paths from the source account to the destination account. This may be used to take advantage of an arbitrage opportunity or by gateways wishing to issue balances from a hot wallet to a user who has mistakenly set a trustline directly to the hot wallet.",
  30. "type": "boolean"
  31. },
  32. "limitQuality": {
  33. "description": "Only take paths where all the conversions have an input:output ratio that is equal or better than the ratio of destination.amount:source.maxAmount.",
  34. "type": "boolean"
  35. }
  36. },
  37. "required": ["source", "destination"],
  38. "additionalProperties": false
  39. }