Payments
Create a payment
Trigger a forwarded payment for an invoice belonging to one of your sub-merchants.
Send POST /payments with invoice_id and amount to create the forward payment in the partner API.
The payment will be forwarded from the bank account of the entity that receives payouts. If the payout receiver is the partner, the partner's bank account will be used. If the payout receiver is the sub-merchant, the sub-merchant's bank account will be used.
The invoice must be sent, and the payment amount must not exceed the invoice's outstanding balance.
post/payments
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"invoice_id": "PMMlaE5wbg0",
"amount": 1000.5
}Response
An object representing a payment.
Example response
{
"id": "PMMlaE5wbg0",
"customer_id": "X50sgfRd",
"source": "customer_user",
"amount": 1000,
"method": "ach_debit",
"status": "paid",
"created_at": "2020-01-01T00:00:00.730Z",
"paid_at": "2020-01-02T00:00:00.730Z",
"processed_at": "2020-01-01T12:00:00.730Z",
"processing_fee": 25.5,
"payment_links": [
{
"record_id": "PMMlaE5wbg0",
"record_type": "invoice",
"amount": 500
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.