POST/api/partner/payments

Send a payment

Sends a payment from one of your users to anyone, named by email or phone. Prio finds or invites the recipient and sends the payment from the bank account or card you name.

Request body

Field Type Required
senderId string yes
recipientEmail string or null no
recipientPhone string or null no
amount number yes
description string yes
bankAccountId string or null no
creditCardId string or null no
201 Created
{
  "success": true,
  "message": "Payment sent",
  "result": {
    "invoice": {
      "id": "3b9d…",
      "amount": 250,
      "status": "pending"
    }
  }
}

The amount is at most 1999. A payment Prio could not send returns 422 with the reason in its message.

Prio may display inaccurate info at times, please double check the responses.