Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Payee details and top-ups

A link for the payee to enter their own bank details

POST/v1/recipients/{recipient}/payee_details_link

Key scope: write · Success: 201

A single-use link for the payee to enter their own EUR or GBP bank details, valid 14 days. Send it to the payee yourself; you never see the details.

Path parameters

recipient stringrequired
The recipient's id, rcp_…, created with destination.detailsFrom payee. Not one of your recipients, it answers 404 recipient_unknown.

Headers

Idempotency-Key string
Any unique string, so a retry runs once. See Idempotency.

Notes

  • Payee bank details are switched on per deployment; until then 403 payee_bank_details_disabled, here and on creating such a recipient. Check GET /v1/capabilities (features.payeeBankDetails).
  • Needs the write scope. Any account type.
  • The recipient must have been created with destination { kind: bank, currency: eur or gbp, detailsFrom: payee } (409 details_not_from_payee otherwise), be active (409 recipient_disabled), and not have its details yet (409 details_already_given).
  • detailsFrom payee is offered for EUR and GBP only: with usd, creating the recipient answers 400 details_from_not_offered.
  • No body. url is a page on SET's own site; the token in it is the only secret, and it is shown once.
  • expiresAt is 14 days after the call. A newer link closes the older: the older page then answers HTTP 410.
  • The payee's page checks the IBAN, or sort code and account number, that the account is in the recipient's country and held in the party's name, then sends it to the provider.
  • You see detailsGiven true and the payee check on the recipient, with event recipient.payee_details_given, never the details.
  • Until the payee gives the details, payouts to the recipient answer 409 payee_details_missing.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 403 payee_bank_details_disabled
  • 404 recipient_unknown
  • 409 details_not_from_payee
  • 409 recipient_disabled
  • 409 details_already_given

All codes: Errors.