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.
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/jsonstring Unique slug for the provider.
pcbpbbcarduni5paymopelightningstring Type of provider connection. Managed providers use Paisr's managed infrastructure, while custom providers use your own API credentials.
managedcustomobject Provider specific attributes.
string Provider specific Merchant ID.
string Provider specific API credentials.
Response Body
application/jsonboolean Indicates that the request was successful.
object The data of the newly created resource.
string The ID of the newly created resource.