Connect a provider

Connects a new payment provider using your provider-specific API credentials. Once connected, the provider becomes available as a payment method for initiating payments.

POST

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Request Body

application/json
string

Unique slug for the provider.

pcbpbbcarduni5paymopelightning
string

Type of provider connection. Managed providers use Paisr's managed infrastructure, while custom providers use your own API credentials.

managedcustom
object

Provider specific attributes.

string

Provider specific Merchant ID.

string

Provider specific API credentials.

Response Body

application/json
boolean

Indicates that the request was successful.

object

The data of the newly created resource.

string

The ID of the newly created resource.