POST
/
providers
curl --request POST \
  --url https://api.live.paisr.tech/{version}/providers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "slug": "<string>",
  "merchant_id": "<string>",
  "secret_key": "<string>"
}'
{
  "success": true,
  "data": {
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
The details required to connect a provider.
slug
string
required

The slug of the provider.

merchant_id
string

Provider specific Merchant ID.

secret_key
string

Provider specific API credentials.

Response

200
application/json
Successfully connected provider.
success
boolean
default:true

Indicates if the request was successful.

data
object