Przejdź do głównej zawartości

Mint Account Frame URL

GET 

/api/partner/v1/merchants/:ref/account-frame

Mints a short-lived URL for the embeddable account frame, so the merchant can view their account (balance, transactions, payout opt-in) inside your product without logging in to dpay. Requires scope account:read and an active merchant delegation covering that scope.

Mint this server-side and pass only the token (the last path segment of embed_url) to the browser SDK - never expose your partner key. The token TTL is 15 minutes (900 seconds); mint a new one when it expires.

Request

Responses

Minted account-frame URL.