Merchants (Payees)

Create and manage the payees you attribute payments to.

Merchants (Payees)

A merchant is a saved payee — a party you attribute payments to. Create a
merchant once, then reference it by merchantId when you Create a Payment,
instead of repeating the payee's bank details on every request. See Core
Concepts
for how merchants relate to payments.

All endpoints require a Bearer token — see Authentication. Failed requests
return the standard error shape — see Errors.

EndpointPurpose
POST /v2/merchantsCreate a merchant.
GET /v2/merchantsList merchants.
GET /v2/merchants/{merchantId}Read one merchant.
DELETE /v2/merchants/{merchantId}Delete a merchant.

Create a merchant

POST https://api.open-finance.ai/v2/merchants

FieldRequiredDescription
nameThe merchant name.
bbanThe merchant's bank account (BBAN).
ibanThe merchant's bank account (IBAN).
psuIdThe merchant's national ID.
psuCorporateIdThe merchant's business ID.
phoneNumberThe merchant's phone number.
displayNameA display name shown to payers.
logoA logo for the merchant.

Request

curl -X POST "https://api.open-finance.ai/v2/merchants" \
  -H "Authorization: Bearer <accessToken>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Acme Ltd",
    "displayName": "Acme",
    "iban": "IL620108000000099999999"
  }'

Response

{ "id": "01J8MERCH..." }

Keep the returned id — it is the merchantId you pass to Create a Payment.

List merchants

GET https://api.open-finance.ai/v2/merchants

Query paramDescription
limitMax merchants to return (max 500).
sort1 ascending, -1 descending.
nextPagePagination cursor from the previous response.
curl "https://api.open-finance.ai/v2/merchants?limit=100" \
  -H "Authorization: Bearer <accessToken>"

Returns { nextPage, items }, where each item is a merchant object.

Get a merchant

GET https://api.open-finance.ai/v2/merchants/{merchantId}

curl "https://api.open-finance.ai/v2/merchants/01J8MERCH..." \
  -H "Authorization: Bearer <accessToken>"
FieldDescription
idThe merchant id.
name / displayNameName and display name.
bban / ibanThe payee's bank account.
psuId / psuCorporateIdNational / business ID.
phoneNumberContact number.
logoUrlURL of the merchant's logo.
createdAtCreation timestamp (UTC).
isDeletedtrue if the merchant has been deleted.

Delete a merchant

DELETE https://api.open-finance.ai/v2/merchants/{merchantId}

curl -X DELETE "https://api.open-finance.ai/v2/merchants/01J8MERCH..." \
  -H "Authorization: Bearer <accessToken>"
💡

Attribute a payment to a merchant by setting merchantId in the body of

Create a Payment. See the API Reference for the full merchant object.


Did this page help you?