Hosted Payment Pages: Redirect After Payment
Hosted payment pages can now send your customer back to your own site after they pay, instead of ending on the Run success page. Set success_redirect_url for approved payments and failure_redirect_url for declined ones. Read more in the Redirect after payment section of the Hosted Payment Pages guide.
Endpoints updated
POST /api/v1/hpp: Acceptssuccess_redirect_urlandfailure_redirect_url, and returns them in the response.PUT /api/v1/hpp/{hpp_client_id}: Accepts both fields. An omitted field keeps its stored value;nullor""clears it.
What to know
- Destinations must be
https://URLs on a domain name, up to 1,000 characters. An invalid URL returns400. - On redirect,
transaction_idandresult(approvedordeclined) are added to the query string. - Vault and card-on-file pages never redirect, and one-time links are still disabled after an approved payment.
Boarding API — Update a Merchant
You can now update a merchant application through the Boarding API while it is still in the edit window (merchant_status of new or sent_for_signature):
PUT /boarding/v1/merchants/{merchant_id}: Fully replace a merchant application, and optionally retract it (merchant_status: "new") or (re)send it for signature (merchant_status: "sent_for_signature") in the same request- The request body is the same application schema as Create a merchant. The typical flow is to
GETthe merchant, apply your changes, andPUTit back - Signed applications are locked and return
409
Boarding API — Section Locks
New section_locks object on Create a merchant, Update a merchant, and Get a single merchant:
section_locks.mode_of_transaction: truelocksin_person_pct,online_pct, andtelephone_pctso the merchant cannot change them while completing the application- A locked split must total exactly 100, otherwise the request returns
422 - Merchants created from a locked application template start locked unless the request sets the lock explicitly
- On update, leaving
section_locksout keeps the merchant’s current lock state
Boarding API — 3 Tier Pricing
The three_tier pricing type is now documented on Create a merchant:
- Set
pricing.pricing_typetothree_tierand submit the effective rate for each tier in basis points:qual_rate_bps,mid_rate_bps, andnon_rate_bps, with a per-item fee for each - AMEX OptBlue tier rates (
amex_qual_rate_bps,amex_mid_rate_bps,amex_non_rate_bpsand their per-item fees) are required whenamex_programisamex_opt_blue