public class MandateImport
extends java.lang.Object
Represents a mandate import resource returned from the API.
Mandate Imports allow you to migrate existing mandates from other providers into the GoCardless platform.
The process is as follows:
When you add entries to your mandate import, they are not turned into actual mandates until the mandate import is submitted by you via the API, and then processed by a member of the GoCardless team. When that happens, a mandate will be created for each entry in the import.
We will issue a mandate_created
webhook for each entry, which will be the same as the webhooks triggered when creating a mandate using the mandates API. Once these webhooks start arriving, any reconciliation can now be accomplished by checking the current status of the mandate import and linking up the mandates to your system.
Note that all Mandate Imports have an upper limit of 30,000 entries, so we recommend you split your import into several smaller imports if you're planning to exceed this threshold.
Restricted: This API is currently only available for approved integrators - please get in touch if you would like to use this API.
Modifier and Type | Class and Description |
---|---|
static class |
MandateImport.Status |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreatedAt()
Fixed timestamp, recording when this resource was created.
|
java.lang.String |
getId()
Unique identifier, beginning with “IM”.
|
java.lang.String |
getScheme()
The scheme of the mandates to be imported.
All mandates in a single mandate import must be for the same scheme. |
MandateImport.Status |
getStatus()
The status of the mandate import.
|
public java.lang.String getCreatedAt()
Fixed timestamp, recording when this resource was created.
public java.lang.String getId()
Unique identifier, beginning with “IM”.
public java.lang.String getScheme()
The scheme of the mandates to be imported.
All mandates in a single mandate import must be for the same scheme.
public MandateImport.Status getStatus()
The status of the mandate import.
created
status.submitted
.cancelled
.processing
(whilst the mandates are being imported).processed
.