Skip to main content
POST
Create payment source

Headers

x-environment
string<uuid>
required

Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.

Path Parameters

customerId
string<uuid>
required

Id of customer to add payment source to.

Body

application/json
provider
string | null

Required. Name of the payment provider. See list of supported here https://go.plude.io/h82201

source
string | null

Optional. Data of the specific payment source. See individual provider. Source data must be escapted.

redirectUrl
string | null

Optional. Redirect URL passed to the payment provider.

parameters
object | null

Optional. Additional parameters to be passed to the payment provider.

Response

OK

url
string | null
message
string | null
description
string | null
type
string | null
state
enum<string>
Available options:
initial,
active,
disabled,
not_supported,
invalid
expiration
string<date-time> | null
id
string<uuid> | null