zend.pay asks the current user to send money to a Zend user. Zend checks your limits, shows its confirm sheet, sends the money, and records the payment against your app.
pay permission.
Parameters
`@${string}`
required
The recipient’s username, with
@.number
US dollars, from 0.01. Give
amount or price, not both.{ ngn: number }
Price in Naira. Zend converts at its current rate and shows ₦ on its sheet.
string
Shown to both people.
string
Up to 64 characters. Comes back on the webhook.
string
The interaction this payment is part of. With a spend allowance, payments to other people in it can skip the confirm sheet.
object[]
Pay others from the same payment. See Split payments.
Returns
{ paymentId, status }. Use it to update your UI, not to grant anything.
Confirm on your server
payment.completed reaches your webhook even if the user closes your app right after paying.