Skip to main content
POST
Send a payment receipt

Body

application/json
email
string
required

The address that receives the receipt, as the payer typed it. It must be a bare ASCII mail address with no display name.

txHash
string
required

The transaction of the payment.

Pattern: ^0x[0-9a-f]{64}$
payer
string
required

The account that paid.

Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0xf9836de53d455019ed985896fce8af80be66b7f9"

payee
string
required

The address that got the payment.

Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0xf9836de53d455019ed985896fce8af80be66b7f9"

token
string
required

The ERC-20 contract of the payment. It must be a fee token of the network. The native coin is not accepted.

Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0xf9836de53d455019ed985896fce8af80be66b7f9"

amountRaw
string
required

The amount in the smallest unit of token. It must be above 0 and fit in 256 bits.

Pattern: ^[0-9]+$
Example:

"200000"

mode
required

One plain ERC-20 transfer.

Allowed value: "once"

Response

The result of the request.

outcome
sent · object
required

The result of a receipt request, tagged by kind.