PATCH
/
v1
/
providers
/
{id}
curl --request PATCH \
  --url https://api.malga.io/v1/providers/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>' \
  --data '{
  "name": "SANDBOX",
  "credentials": {
    "type": "SANDBOX",
    "apiKey": "1234567890"
  },
  "acquirer": {
    "merchantId": "1234567890",
    "bin": [
      {
        "brand": "Mastercard",
        "value": "550259"
      }
    ]
  }
}'

Authorizations

X-Client-Id
string
header
required
X-Api-Key
string
header
required

Path Parameters

id
string
required

id do provedor

Body

application/json
PATCH
/
v1
/
providers
/
{id}
curl --request PATCH \
  --url https://api.malga.io/v1/providers/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>' \
  --data '{
  "name": "SANDBOX",
  "credentials": {
    "type": "SANDBOX",
    "apiKey": "1234567890"
  },
  "acquirer": {
    "merchantId": "1234567890",
    "bin": [
      {
        "brand": "Mastercard",
        "value": "550259"
      }
    ]
  }
}'

Authorizations

X-Client-Id
string
header
required
X-Api-Key
string
header
required

Path Parameters

id
string
required

id do provedor

Body

application/json