Create Payment Request

Create a payment request b58 code to give to someone else

Parameters

Required ParamPurposeRequirements

account_id

The account on which to perform this action.

Account must exist in the wallet.

amount_pmob

The amount of pMOB to send in this transaction.

u64

Optional ParamPurposeRequirements

subaddress_index

The subaddress index on the account to generate the request with

i64

memo

Memo for the payment request

Example

{
  "method": "create_payment_request",
  "params": {
    "account_id": "a8c9c7acb96cf4ad9154eec9384c09f2c75a340b441924847fe5f60a41805bde",
    "amount_pmob": 42000000000000,
    "subaddress_index": 4,
    "memo": "Payment for dinner with family"
  },
  "jsonrpc": "2.0",
  "id": 1
}

Last updated