C#
Escrow Service
Release Escrow Allocation
Release held escrow funds for a specific merchant allocation upon successful order fulfillment.
POST
C#
Release Escrow Allocation
Release held escrow funds for a specific merchant allocation once the corresponding product or service has been fulfilled. In marketplace scenarios where an order is split across multiple vendors, each merchant’s allocation can be released independently as their items are shipped or delivered.Endpoint
Authentication
Include your API secret in the request header. Header:x-api-secret(string) — Required. Your StarPay API secret key. Generate this key from the Merchant Portal under API Keys.
Request Body
escrowId
The unique identifier of the escrow transaction returned during order creation. Type:string — Required
Example:
merchantId
The merchant ID corresponding to the allocation you want to release. Type:string — Required
Example:
Example Request
Response
Success Response (200 OK)
Notes & Best Practices
- Partial Releases: If an order contains multiple merchant allocations, you can call this endpoint separately for each merchant as they fulfill their part of the order.
- Idempotency: Releasing an allocation that has already been released will return the existing release confirmation or an error indicating the allocation was previously settled.
- Unreleased Allocations: Any remaining unreleased allocations continue to be held securely in escrow until explicitly released or cancelled.
Headers
Your StarPay API secret key.
Example:
"SplFeYdc/Hc5S1CGmVDtETLYUJY/10a38ejamzwb1YH30h+u8sOK2fpTlyKitpPk"
Body
application/json
Escrow ID and merchant ID identifying the allocation to release.