We’ve now made an update to the Client_Get API method so that you can request additional GoCardless information for any given client. You will need to specify this in the node GoCardlessDetails.

Here’s an example:
<Body>
<ClientID>######</ClientID>
<ReturnData>
<GoCardlessDetails>true</GoCardlessDetails>
</ReturnData>
</Body>
The API will then return one of two things.
- If the client already has a pre-authorisation you will get back a preAuthID.
- If no pre-authorisation exists you will get back a fully formed URL that will direct you to GoCardless to setup a new pre-authorisation.