Retry a payment or refund
Retries the payment's latest attempted money movement. Normally, this retries a failed payment to its original recipient. Retrying a failed employee or contractor disbursement requires an active bank_account owned by that recipient. For a payment with status refund_failed and a failed employer refund attempt, this retries the employer refund by ACH and requires an active bank_account owned by the employer that differs from the account used by the failed refund. If no employer refund attempt was created, start the refund again instead. Refunds for payrolls funded by a payroll advance cannot be retried.
post/payments/{payment}/retry
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
paymentstring required
ID of the payment desired for retry.
Request body
Response
200
Example response
{
"id": "pyt_vIFHhvyGN47ej1upyIT8",
"status": "failed",
"amount": "4522.0400",
"type": "company_cash_requirement",
"parent_type": "payroll",
"parent_id": "pay_ENA4k8LMHbgpV07GLGSv",
"payment_attempts": [
{
"id": "pya_GaeJoEAzbqqc2D9GMfOF",
"created_at": "2022-02-18T21:32:44.957364Z",
"expected_completion_date": "2022-02-25",
"status": "failed",
"payment_method": "wire",
"wire_details": {
"account_number": "3302826020",
"routing_number": "121140399",
"bank_name": "Silicon Valley Bank",
"account_name": "SVB for benefit of CHECK TECHNOLOGIES",
"account_address": "3003 Tasman Drive, Santa Clara, CA 95054",
"amount": 4522.04
}
}
],
"direction": "debit"
}Changes
No recorded changes to this operation across all 2 revisions of this API.