Merchants

Update Merchant

put/v1/aggregators/{raast-aggregator-id}/merchants/{aggregator-merchant-id}

Request

  • Base URL: https://api.getsafepay.com/raastwire
  • URL: https://api.getsafepay.com/raastwire/v1/aggregators/{raast-aggregator-id}/merchants/{aggregator-merchant-id}
  • Auth: API key in header X-SFPY-AGGREGATOR-SECRET-KEY

Path parameters

raast-aggregator-idstring required
Example:agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e

The unique identifier for the aggregator

aggregator-merchant-idstring required
Example:am_be454a50-7612-4dc6-a97e-284ebbe7ae93

The unique identifier for the merchant

Request body

namestring

Merchant display name

enabledboolean

Indicates whether the merchant should be active for Raast payments

ibanstring

Settlement IBAN used for Raast payouts

Example request

{
  "rate_card": {
    "ratecard_kind": "RateCardKind_fixed"
  }
}

Response

This response contains details of a merchant

api_versionstring

The current version of the API spec

Example response

{
  "api_version": "v1",
  "data": {
    "bank_account": {
      "created_at": "2025-03-13T09:12:34Z",
      "updated_at": "2025-03-13T09:12:34Z"
    },
    "raast_merchant": {
      "created_at": "2025-03-13T09:12:34Z",
      "updated_at": "2025-03-13T09:12:34Z"
    },
    "rate_card": {
      "ratecard_kind": "RateCardKind_fixed",
      "created_at": "2025-03-13T09:12:34Z",
      "updated_at": "2025-03-13T09:12:34Z"
    },
    "created_at": "2025-03-13T09:12:34Z",
    "updated_at": "2025-03-13T09:12:34Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.