TMS
Legacy API
Acquirer Profile

API endpoints for managing acquirer profiles.

⚠️

Legacy API — deprecated. This page documents the legacy /api/v2 Acquirer Profile endpoints, kept for existing integrations. New integrations should use the current Acquirer Profile API. Once your PBO group has been switched over to the current Service API, every endpoint on this page — including reads — returns code: 13310 ("Your group has open the multi_acquirers;please use the new Service API") instead of working. See the Service API overview for details.

An acquirer profile represents one connection to a payment host (MID/TID, message format, allowed payment methods, EMV templates).

Get Acquirer Profiles

GET /api/v2/acquirer
Accept: application/json
Authorization: Bearer {jwt}

Parameters

NameInTypeRequiredDescription
profileNamequerystringfalseFilter by profile name (partial match)
pageNumberquerynumberfalseDefault 1
pageSizequerynumberfalseDefault 10; use -1 to return all profiles on one page

Response

StatusMeaningDescriptionSchema
200OK (opens in a new tab)Example responseWrapper: Response List<T>
Data: AcquirerProfile

Example Response (200)

Example Response - Acquirer Profile List
{
  "msg": "SUCCESS",
  "code": 0,
  "data": {
    "total": 1,
    "current": 1,
    "hasNext": false,
    "records": [
      {
        "profileId": 316,
        "groupId": "G-12345678",
        "profileName": "Visa & Mastercard - US",
        "currency": "USD",
        "connUrl": "https://acquirer-host.example.com/gateway",
        "notifyUrl": "https://your-server.example.com/webhooks/acquirer",
        "connMessageFormat": "MS_ENABLER",
        "connTimeout": 30000,
        "connRequestTimeout": 30000,
        "connRetryCount": 2,
        "connSync": 1,
        "connExtraParams": "{}",
        "methodList": "{\"01\":[],\"02\":[]}",
        "emvList": "{\"01\":[1675],\"02\":[1676]}",
        "createdBy": "[email protected]",
        "createdAt": "2026-05-01T02:12:57+0000",
        "updatedAt": "2026-05-01T02:12:57+0000"
      }
    ]
  }
}

Create Acquirer Profile

Both emvList and methodList are sent as a JSON-encoded string, keyed by PaymentMethod code — only set the keys for payment methods this profile actually accepts. See AcqProfileRequest for the decoded per-payment-method shape.

POST /api/v2/acquirer
Content-Type: application/json
Authorization: Bearer {jwt}

Parameters

NameInTypeRequiredDescription
profileNamebodystringtrueDisplay name for this acquirer profile; must be unique within the PBO
currencybodystringtrueSettlement currency this profile is created for (ISO 4217 code)
connMessageFormatbodystringtrueHost message format used on this connection (e.g. MS_ENABLER)
connUrlbodystringfalseAcquirer host endpoint URL
notifyUrlbodystringfalseCallback URL for async notifications from this acquirer
connTimeoutbodynumberfalseConnection timeout in milliseconds
connRequestTimeoutbodynumberfalseRequest timeout in milliseconds
emvListbodystringfalseJSON-encoded map of EMV config IDs per payment method — see the note above
methodListbodystringfalseJSON-encoded map of allowed entry-mode tags per payment method — see the note above

Request Body Example

Example Request - Create Acquirer Profile
{
  "profileName": "Visa & Mastercard - US",
  "currency": "USD",
  "connMessageFormat": "MS_ENABLER",
  "connUrl": "https://acquirer-host.example.com/gateway",
  "notifyUrl": "https://your-server.example.com/webhooks/acquirer",
  "connTimeout": 30000,
  "connRequestTimeout": 30000,
  "emvList": "{\"01\":[1675],\"02\":[1676]}",
  "methodList": "{\"01\":[],\"02\":[]}"
}

Response

StatusMeaningDescriptionSchema
200OK (opens in a new tab)CreatedWrapper: Response<T>
Data: { id: number }
—code: 10000, "currency invalid"currency is not a valid ISO 4217 code—

Example Response (200)

Example Response - Create Acquirer Profile
{
  "msg": "SUCCESS",
  "code": 0,
  "data": {
    "id": 316
  }
}

Update Acquirer Profile

Same fields as Create, all optional — only the fields you include are changed.

PUT /api/v2/acquirer/{profileId}
Content-Type: application/json
Authorization: Bearer {jwt}

Parameters

NameInTypeRequiredDescription
profileIdpathstringtrueAcquirer profile ID
profileNamebodystringfalseDisplay name for this acquirer profile
currencybodystringfalseSettlement currency (ISO 4217 code)
connMessageFormatbodystringfalseHost message format used on this connection (e.g. MS_ENABLER)
connUrlbodystringfalseAcquirer host endpoint URL
notifyUrlbodystringfalseCallback URL for async notifications from this acquirer
connTimeoutbodynumberfalseConnection timeout in milliseconds
connRequestTimeoutbodynumberfalseRequest timeout in milliseconds
emvListbodystringfalseJSON-encoded map of EMV config IDs per payment method
methodListbodystringfalseJSON-encoded map of allowed entry-mode tags per payment method

Request Body Example

Example Request - Update Acquirer Profile
{
  "profileName": "Visa & Mastercard - US (primary)",
  "connUrl": "https://acquirer-host-new.example.com/gateway"
}

Response

StatusMeaningDescriptionSchema
200OK (opens in a new tab)OKWrapper: Response<T>
—code: 10000, "not exist"profileId not found under this PBO—

Example Response (200)

Example Response - Update Acquirer Profile
{
  "msg": "SUCCESS",
  "code": 0
}

Delete Acquirer Profile

Fails if any merchant is still bound to this profile.

DELETE /api/v2/acquirer/{profileId}
Authorization: Bearer {jwt}

Parameters

NameInTypeRequiredDescription
profileIdpathstringtrueAcquirer profile ID

Response

StatusMeaningDescriptionSchema
200OK (opens in a new tab)OKWrapper: Response<T>
—code: 10000, "Current acquirer used by merchant"Merchant(s) still bound to this profile—

Example Response (200)

Example Response - Delete Acquirer Profile
{
  "msg": "SUCCESS",
  "code": 0
}