Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
GoCardless Mandate identifier
Body
application/json
Customer identifier
Example:
42
Response
Association created successfully.
curl --request POST \
--url https://app.pennylane.com/api/external/v2/gocardless_mandates/{gocardless_mandate_id}/associations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": 42
}'
This response does not have an example.
This endpoint allows you to associate a GoCardless mandate to a customer.
ℹ️ This endpoint requires one of the following scopes:
customer_mandates:all
curl --request POST \
--url https://app.pennylane.com/api/external/v2/gocardless_mandates/{gocardless_mandate_id}/associations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": 42
}'
This response does not have an example.
The access token received from the authorization server in the OAuth 2.0 flow.
GoCardless Mandate identifier
Customer identifier
42
Association created successfully.
Was this page helpful?