curl --request GET \
--url https://app.pennylane.com/api/external/v2/gocardless_mandates/{id} \
--header 'Authorization: Bearer <token>'
{
"id": 42,
"external_reference": "MD000VDD0HN1RP",
"customer": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customers/42"
},
"status": "pending_customer_approval",
"external_customer_account": "test_account_id",
"external_customer_label": "test_label",
"created_at": "2023-08-07T14:23:12.000Z",
"updated_at": "2023-08-07T14:23:12.000Z"
}
This endpoint allows you to retrieve a specific Gocardless mandate by ID.
ℹ️ This endpoint requires one of the following scopes:
customer_mandates:all
,customer_mandates:readonly
curl --request GET \
--url https://app.pennylane.com/api/external/v2/gocardless_mandates/{id} \
--header 'Authorization: Bearer <token>'
{
"id": 42,
"external_reference": "MD000VDD0HN1RP",
"customer": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customers/42"
},
"status": "pending_customer_approval",
"external_customer_account": "test_account_id",
"external_customer_label": "test_label",
"created_at": "2023-08-07T14:23:12.000Z",
"updated_at": "2023-08-07T14:23:12.000Z"
}
The access token received from the authorization server in the OAuth 2.0 flow.
ID of the Gocardless mandate to retrieve
A Gocardless mandate
The response is of type object
.
Was this page helpful?