Skip to main content
DELETE
/
api
/
v2
/
payment-type
/
{merchantId}
/
{tokenId}
Delete payment type
curl --request DELETE \
  --url https://demo.api.loopcrypto.xyz/api/v2/payment-type/{merchantId}/{tokenId} \
  --header 'api-key: <api-key>' \
  --header 'entity-id: <api-key>'
{
  "totalResults": 100,
  "paymentTypes": [
    {
      "merchantId": "550e8400-e29b-41d4-a716-446655440000",
      "tokenId": "d9e1f2a3-b4c5-6d7e-8f9g-0h1i2j3k4l5m",
      "isDefault": true,
      "networkId": 1,
      "symbol": "USDC",
      "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "decimals": 6,
      "dateCreated": 1716211200
    }
  ]
}

Authorizations

api-key
string
header
required
entity-id
string
header
required

Path Parameters

merchantId
string
required

The ID of the entity or merchant to delete the payment type for

tokenId
string
required

The ID of the token to delete the payment type for

Response

Ok

totalResults
number
required

The total count of payment types matching the search criteria, regardless of page size or number.

Example:

100

paymentTypes
object[]
required

The list of payment types grouped by merchant and network

I