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.
Create a forwarded payment for a sub-merchant's invoice. This is the partner API trigger for POST /payments.
ID of the invoice to create a payment for. The invoice must belong to one of your sub-merchants and must be sent.
- Mock serverhttps://docs.resolvepay.com/_mock/partners-api/openapi/payments
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/payments
curl -i -X POST \
https://docs.resolvepay.com/_mock/partners-api/openapi/payments \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"invoice_id": "PMMlaE5wbg0",
"amount": 1000.5
}'An object representing a payment.
Source of the payment.
Method of payment made by the customer.
Status of the payment.
pending- Payment is pending processing.in_transit- Payment has been processed and is in transit.in_review- Payment is being reviewed.paid- Payment has been confirmed and applied to the customer's account.failed- Payment failed confirmation (e.g., bank transfer or credit card payment rejected).canceled- Payment was canceled by request.
Date the payment was confirmed by Resolve and applied to the customer's account.
Date the payment was processed by Resolve.
Date the payment was scheduled for processing, if applicable.
Reason code associated with a forwarded payment. This is populated when the payment was created through the merchant API and may be null for partner API-created payments.
Human-readable reason text associated with a forwarded payment. This is populated when the payment was created through the merchant API and may be null for partner API-created payments.
{ "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", "canceled_at": null, "failed_at": null, "processed_at": "2020-01-01T12:00:00.730Z", "scheduled_at": null, "processing_fee": 25.5, "canceled_code": null, "failed_code": null, "dispute_code": null, "forward_reason_code": null, "forward_reason_message": null, "payment_links": [ { … } ], "created_by_user_id": null }