Skip to main content

Refresh payment session

PUT 

/v1/collections/payment-requests/:id/refresh-session

Refreshes the payment session token and returns the updated payment request. A refreshed payment session is valid for the remainder of the payment request's lifetime, at most 1 hour, and never outlives the request's expiresAt. This endpoint is only applicable for payment requests with an execution mode of HOSTED_PAGE or EMBEDDED, a status of UNPAID or PART_PAID, and an expiresAt still in the future. If the request does not meet these criteria, a bad request will be returned. The payer must have an email address on file to refresh the session for a crypto-enabled payment request.

Request​

Responses​

OK

Response Headers
    X-Trace-Id

    Trace ID to provide when contacting Hubpay support