Create a seller verification link
A link for the customer whose token you send to verify their identity once (their BVN and a
selfie, on their phone), on a KetaPay page. Send them to url. Once they finish, every
payout held for them (awaiting_verification) goes on to their payout account, and the page
offers a button back to your return_url.
The link works for 24 hours (expires_at). Opened later, it sends the seller to your
refresh_url to get a new one, or back to return_url if you gave none. Opened on a
computer, the page shows a code to continue on their phone.
You only need this to bring the seller back to your app or site: a held payout’s
verification_url works too, without a return button.
Authorizations
Authorization: Bearer <secret key>. Secret keys belong to your organisation, are shown
once when created in the dashboard, and are scoped (see x-required-scope on each
operation). Keep them on your server. Live keys are issued after your business is
verified. Publishable keys (pk_) are only for @ketapay/checkout and don't work here.
Headers
Body
Where the page's button sends the seller once they're verified: your app or site. https (http://localhost works with a test key).
2048Where an expired link sends the seller, so you can make them a new one. https
(http://localhost works with a test key). Without it, an expired link points back to
return_url.
2048Response
The link to send the seller to