These endpoints are for resellers using Token.io's licence to create, retrieve and delete sub-TPPs.
The POST /member/sub-tpps
endpoint creates a new sub-TPP for a reseller.
domain required | string The fully qualified domain name of the sub-TPP, also referred to as the absolute domain name. This specifies an exact location in the tree hierarchy of the Domain Name System (DNS). It must include all domain levels, including the top-level domain and the root zone. Example: "somehost.example.com" |
logo | string <byte> ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[... This field specifies the image file containing the sub-TPP's logo as a byte array (click here for the JavaScript FileReader instance needed to convert the selected file into a byte array). Example: "b0Y5cVl6aDc3RkE5blZyQ24yamlh" |
required | object (member.Merchant) Contains information about the merchant member. |
name required | string The recognised business name or DBA of the sub-TPP. Example: "Sub-TPP Business Ltd" |
parentSubTppId | string (parentSubTppId) The Token.io-generated identifier for the parent sub-TPP. Example: "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s" |
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a sub-tpp, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{- "domain": "somehost.example.com",
- "logo": "b0Y5cVl6aDc3RkE5blZyQ24yamlh",
- "merchant": {
- "merchantJurisdiction": "DE",
- "legalEntityName": "Test Merchant Entity Name",
- "companyRegistrationNumber": 123456789,
- "primaryUseCase": "AIS: Accounting package integration",
- "iban": "DE0000000000000000000",
- "bic": "BOFIIE2D"
}, - "name": "Sub-TPP Business Ltd",
- "parentSubTppId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s"
}
{- "subTppId": "8d54f066-c14a-47c0-b58b-fec6b0ed6b4c"
}
The GET /member/sub-tpps
endpoint retrieves a list of all sub-TPPs for a reseller.
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a sub-tpp, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{- "offset": "LerV6Jmex",
- "subTpps": [
- {
- "childSubTppIds": [
- "[\"8d54f066-c14a-47c0-b58b-fec6b0ed6b4c\",\"3d46h823-g02s-20m5-k19c-kes4ekkc2p5x\",\"0c55fwgs-s1e2-dloa-0j36-sat2b9kw4s8g\"]"
], - "createdAt": "2022-09-22T17:00:00.000Z",
- "domain": "somehost.example.com",
- "id": "8d54f066-c14a-47c0-b58b-fec6b0ed6b4c",
- "logo": "string",
- "memberId": "m:213xyzabc3453434",
- "merchant": {
- "merchantJurisdiction": "DE",
- "legalEntityName": "Test Merchant Entity Name",
- "companyRegistrationNumber": 123456789,
- "primaryUseCase": "AIS: Accounting package integration",
- "iban": "DE0000000000000000000",
- "bic": "BOFIIE2D"
}, - "name": "Sub-TPP Business Ltd",
- "parentSubTppId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "restrictedCountries": [
- "DE",
- "FR",
- "GB"
], - "status": "ACTIVATED",
- "statusReasonInformation": "This sub-TPP has been activated.",
- "updatedAt": "2022-09-22T17:00:00.000Z"
}
]
}
The GET /member/sub-tpps/{subTppId}
endpoint retrieves the details of the specified sub-TPP for a reseller.
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a sub-tpp, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{- "subTpp": {
- "childSubTppIds": [
- "[\"8d54f066-c14a-47c0-b58b-fec6b0ed6b4c\",\"3d46h823-g02s-20m5-k19c-kes4ekkc2p5x\",\"0c55fwgs-s1e2-dloa-0j36-sat2b9kw4s8g\"]"
], - "createdAt": "2022-09-22T17:00:00.000Z",
- "domain": "somehost.example.com",
- "id": "8d54f066-c14a-47c0-b58b-fec6b0ed6b4c",
- "logo": "string",
- "memberId": "m:213xyzabc3453434",
- "merchant": {
- "merchantJurisdiction": "DE",
- "legalEntityName": "Test Merchant Entity Name",
- "companyRegistrationNumber": 123456789,
- "primaryUseCase": "AIS: Accounting package integration",
- "iban": "DE0000000000000000000",
- "bic": "BOFIIE2D"
}, - "name": "Sub-TPP Business Ltd",
- "parentSubTppId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "restrictedCountries": [
- "DE",
- "FR",
- "GB"
], - "status": "ACTIVATED",
- "statusReasonInformation": "This sub-TPP has been activated.",
- "updatedAt": "2022-09-22T17:00:00.000Z"
}
}
The DELETE /member/sub-tpps/{subTppId}
endpoint deletes an existing sub-TPP for a reseller.
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a sub-tpp, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{ }
The GET /member/sub-tpps/{subTppId}/children
endpoint retrieves the sub-TPP children for given sub-TPP.
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a sub-tpp, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{- "subTpps": [
- {
- "childSubTppIds": [
- "[\"8d54f066-c14a-47c0-b58b-fec6b0ed6b4c\",\"3d46h823-g02s-20m5-k19c-kes4ekkc2p5x\",\"0c55fwgs-s1e2-dloa-0j36-sat2b9kw4s8g\"]"
], - "createdAt": "2022-09-22T17:00:00.000Z",
- "domain": "somehost.example.com",
- "id": "8d54f066-c14a-47c0-b58b-fec6b0ed6b4c",
- "logo": "string",
- "memberId": "m:213xyzabc3453434",
- "merchant": {
- "merchantJurisdiction": "DE",
- "legalEntityName": "Test Merchant Entity Name",
- "companyRegistrationNumber": 123456789,
- "primaryUseCase": "AIS: Accounting package integration",
- "iban": "DE0000000000000000000",
- "bic": "BOFIIE2D"
}, - "name": "Sub-TPP Business Ltd",
- "parentSubTppId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "restrictedCountries": [
- "DE",
- "FR",
- "GB"
], - "status": "ACTIVATED",
- "statusReasonInformation": "This sub-TPP has been activated.",
- "updatedAt": "2022-09-22T17:00:00.000Z"
}
]
}