V4
Accounts
Access to accounts
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | GetAccount |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 405 | Method Not Allowed | Method not allowed | None |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
| body | body | PatchAccountPaymentMethod | true | ‘none’ |
Request body - instance of PatchAccountPaymentMethod
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| type | PatchPaymentType | true | none |
| details | object¦null | false | iban is mandatory when type is DIRECT_DEBIT, token_id is mandatory when type is CREDIT_CARD |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | object | false | none |
| »» iban | string | true | Only for direct debit payment method |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | object | false | none |
| »» token_id | string(uuid) | true | Only for credit card payment method, this value is the id of the tokenized credit card |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | successful operation | None |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
| from | query | string(date) | false | start date query against createStamp column, with format yyyy-mm-dd, for example 2020-01-01 |
| to | query | string(date) | false | end date query against createStamp column with format yyyy-mm-dd, for example 2020-01-01 |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | BillingAddressHistoryResponse |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 405 | Method Not Allowed | Method not allowed | None |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | [AccountPromotion] |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
| account_promotion_type | query | string | false | Account Promotion Type |
Enumerated Values
| Property | Values |
|---|---|
| account_promotion_type | one of [ACTIVE, SCHEDULED, ALL] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | [AccountPromotion] |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
| start_date | query | string(date) | false | Reference date to list account promotion operation history |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | [AccountPromotionHistory] |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| account_id | path | string(uuid) | true | Account identifier |
| account_promotion_id | path | string(uuid) | true | Account promotion relation identifier |
| body | body | PatchAccountPromotion | true | ‘none’ |
Request body - instance of PatchAccountPromotion
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| cancellation_date | string(date) | true | Cancellation Date to promotion in account |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | successful operation | None |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Customer accounts returned successfully | AccountIds |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
| body | body | PostAccount | true | ‘none’ |
Request body - instance of PostAccount
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| modality | string | true | none |
| billing_address | BillingAddress | false | none |
| payment_method | PaymentMethod | true | none |
| Property | Values |
|---|---|
| modality | one of [RECURRING_PREPAID, POSTPAID] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | AccountCreated |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 409 | Conflict | Conflict | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
| account_id | path | string(uuid) | true | Account identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | successful operation | None |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 409 | Conflict | Conflict | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
| account_id | path | string(uuid) | true | Account identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Payment methods returned successfully | AvailablePaymentMethods |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Endpoints
Accounts
External accounts
Customers
External customers
Categories
Customers Categories
Special Treatment
Customer Special Treatment
Customer credentials
Customer identification processes