Search…
Transfer Methods
The following endpoints are used to manage the transfer methods.
TRANSFER METHODS ENDPOINTS
1
POST /transfer-methods
2
GET /transfer-methods/:id
3
GET /transfer-methods
4
DELETE /transfer-methods
Copied!

The transfer-method object

The transfer-method object represents a request for creating a new transfer method associated to a specific identity.
Transfer methods are identified by a unique, random id, and relate to a user's identityId.
TRANSFER METHOD OBJECT
1
{
2
"id": "dea456c8-7743-4f3a-8a34-f6a9b8650040",
3
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
4
"status": "waiting",
5
"transferMethodInformation": {
6
"transferType": "ach",
7
"routingNumber": "123456789",
8
"bankAccountName": "1231313",
9
"bankAccountNumber": "12313123123"
10
},
11
"createdAt": "2020-01-30T13:43:14.559Z",
12
"updatedAt": "2020-01-30T13:43:15.170Z",
13
"deletedAt": null
14
}
Copied!
post
[ENVIRONMENT HOSTNAME]
/transfer-methods
POST /transfer-methods

Example Call

Request
CURL
Response
1
POST [ENVIRONMENT HOSTNAME]/transfer-methods
2
3
{
4
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
5
"transferMethodInformation": {
6
"transferType": "ach",
7
"plaidPublicToken": "12313123123",
8
"plaidUserAccountId": "123456789"
9
}
10
}
Copied!
1
curl --location --request POST 'https://api.tst.publicmint.io/transfer-methods' \
2
--header 'apikey: {INSERT API KEY HERE}' \
3
--header 'Content-Type: application/json' \
4
--data-raw '{
5
"identityId": "971c3241-9876-471e-b0b3-40040893efd0",
6
"transferMethodInformation": {
7
"transferType": "ach",
8
"plaidPublicToken": "123456789",
9
"plaidUserAccountId": "1231313"
10
}
11
}'
Copied!
1
{
2
"id": "dea456c8-7743-4f3a-8a34-f6a9b8650040",
3
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
4
"status": "active",
5
"transferMethodInformation": {
6
"transferType": "ach",
7
"routingNumber": "123456789",
8
"bankAccountName": "1231313",
9
"bankAccountNumber": "12313123123"
10
},
11
"createdAt": "2020-01-30T13:43:14.559Z",
12
"updatedAt": "2020-01-30T13:43:15.170Z",
13
"deletedAt": null
14
}
Copied!
get
[ENVIRONMENT HOSTNAME]
/transfer-methods/:id
GET /transfer-methods/:id

Example Call

Request
CURL
Response
1
GET [ENVIRONMENT HOSTNAME]/transfer-methods/dea456c8-7743-4f3a-8a34-f6a9b8650040
Copied!
1
curl --location --request GET 'https://api.tst.publicmint.io/transfer-methods/dea456c8-7743-4f3a-8a34-f6a9b8650040' \
2
-H 'apikey: {INSERT API KEY HERE}' \
Copied!
1
{
2
"id": "dea456c8-7743-4f3a-8a34-f6a9b8650040",
3
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
4
"status": "active",
5
"transferMethodInformation": {
6
"transferType": "ach",
7
"routingNumber": "123456789",
8
"bankAccountName": "1231313",
9
"bankAccountNumber": "12313123123"
10
},
11
"createdAt": "2020-01-30T13:43:14.559Z",
12
"updatedAt": "2020-01-30T13:43:15.170Z",
13
"deletedAt": null
14
}
Copied!
get
[ENVIRONMENT HOSTNAME]
/transfer-methods
GET /transfer-methods/

Example Call

Request
CURL
Response
1
GET [ENVIRONMENT HOSTNAME]/transfer-methods
Copied!
1
curl --location --request GET 'https://api.tst.publicmint.io/transfer-methods' \
2
-H 'apikey: {INSERT API KEY HERE}' \
Copied!
1
{
2
"total": 1,
3
"data": [{
4
"id": "dea456c8-7743-4f3a-8a34-f6a9b8650040",
5
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
6
"status": "active",
7
"transferMethodInformation": {
8
"transferType": "ach",
9
"routingNumber": "123456789",
10
"bankAccountName": "1231313",
11
"bankAccountNumber": "12313123123"
12
},
13
"createdAt": "2020-01-30T13:43:14.559Z",
14
"updatedAt": "2020-01-30T13:43:15.170Z",
15
"deletedAt": null
16
}]
17
}
Copied!
delete
[ENVIRONMENT HOSTNAME]
/transfer-methods/:id
DELETE /transfer-methods/:id

Example Call

Request
CURL
Response
1
DELETE [ENVIRONMENT HOSTNAME]/transfer-methods/dea456c8-7743-4f3a-8a34-f6a9b8650040
Copied!
1
curl --location --request DELETE 'https://api.tst.publicmint.io/transfer-methods/' \
2
--header 'Content-Type: application/json' \
3
--header 'apikey: {INSERT API KEY HERE}' \
Copied!
1
Copied!