POST
/
api
/
external
/
v2
/
gocardless_mandates
/
{gocardless_mandate_id}
/
associations
Associate a GoCardless mandate to a customer
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.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

gocardless_mandate_id
integer
required

GoCardless Mandate identifier

Body

application/json

Response

200

Association created successfully.