Schemas
note
PayString was previously known as PayID.
See also: PayString API Reference.
The PayString protocol includes the following schema definitions.
These schemas are used for request or response payloads for various requests.
#
Example single user schemaA single user can have multiple destinations, because the same user can have addresses on different networks for different currencies. This schema is used as a payload with a request to create a user, or as a response to a request to get information about a user.
Field | Description |
---|---|
payId | PayString user address |
addresses | Object that includes payment address information for one or more payment networks. |
addresses.paymentNetwork | A payment network, like the bitcoin network, the XRPL, or ACH. |
addresses.environment | "Environment" of the payment network for this payment address. For example, the XPR Ledger has MAINNET, TESTNET, and DEVNET. |
address.details | Actual payment information for this address. Must be in the form CryptoAddressDetails or FiatAddressDetails . See Interfaces. |