Payments
Create a forward payment
Trigger a forward payment against an advanced invoice.
Use this endpoint when the customer has already paid you outside Resolve and you want Resolve to collect its portion from the forwarded amount.
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": 500,
"forward_reason_code": "wire",
"forward_reason_message": "Customer paid by wire transfer outside Resolve."
}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,
"forward_reason_code": "check",
"forward_reason_message": "Customer paid by wire transfer outside Resolve.",
"payment_links": [
{
"record_id": "PMMlaE5wbg0",
"record_type": "invoice",
"amount": 500
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.