Payment Profiles
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/payment-profiles/ |
List Payment Profiles |
| GET | /api/payment-profiles/{uuid}/ |
Retrieve |
| POST | /api/payment-profiles/ |
Create |
| PUT | /api/payment-profiles/{uuid}/ |
Update |
| PATCH | /api/payment-profiles/{uuid}/ |
Partial Update |
| DELETE | /api/payment-profiles/{uuid}/ |
Delete |
| Other Actions | ||
| POST | /api/payment-profiles/{uuid}/enable/ |
Enable |
Core CRUD
List Payment Profiles
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
payment_profiles_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
is_active |
boolean | |
o |
array | Ordering |
organization |
string | |
organization_uuid |
string (uuid) | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
payment_type |
array |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
uuid |
string (uuid) |
url |
string (uri) |
name |
string |
organization_uuid |
string (uuid) |
organization |
string (uri) |
attributes |
object |
attributes.end_date |
string |
attributes.agreement_number |
string |
attributes.contract_sum |
integer |
payment_type |
string |
payment_type_display |
string |
is_active |
boolean |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
payment_profiles_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
uuid |
string (uuid) |
url |
string (uri) |
name |
string |
organization_uuid |
string (uuid) |
organization |
string (uri) |
attributes |
object |
attributes.end_date |
string |
attributes.agreement_number |
string |
attributes.contract_sum |
integer |
payment_type |
string |
payment_type_display |
string |
is_active |
boolean |
Create
1 2 3 4 5 6 7 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
- Model Source:
PaymentProfileRequest - API Source:
payment_profiles_create
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
| Field | Type | Required |
|---|---|---|
name |
string | ✓ |
organization |
string (uri) | ✓ |
attributes |
object | |
attributes.end_date |
string | |
attributes.agreement_number |
string | |
attributes.contract_sum |
integer | |
payment_type |
string | ✓ |
is_active |
boolean |
201 -
| Field | Type |
|---|---|
uuid |
string (uuid) |
url |
string (uri) |
name |
string |
organization_uuid |
string (uuid) |
organization |
string (uri) |
attributes |
object |
attributes.end_date |
string |
attributes.agreement_number |
string |
attributes.contract_sum |
integer |
payment_type |
string |
payment_type_display |
string |
is_active |
boolean |
Update
1 2 3 4 5 6 7 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
- Model Source:
PaymentProfileRequest - API Source:
payment_profiles_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
name |
string | ✓ |
organization |
string (uri) | ✓ |
attributes |
object | |
attributes.end_date |
string | |
attributes.agreement_number |
string | |
attributes.contract_sum |
integer | |
payment_type |
string | ✓ |
is_active |
boolean |
200 -
| Field | Type |
|---|---|
uuid |
string (uuid) |
url |
string (uri) |
name |
string |
organization_uuid |
string (uuid) |
organization |
string (uri) |
attributes |
object |
attributes.end_date |
string |
attributes.agreement_number |
string |
attributes.contract_sum |
integer |
payment_type |
string |
payment_type_display |
string |
is_active |
boolean |
Partial Update
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedPaymentProfileRequest - API Source:
payment_profiles_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
name |
string | |
organization |
string (uri) | |
attributes |
object | |
attributes.end_date |
string | |
attributes.agreement_number |
string | |
attributes.contract_sum |
integer | |
payment_type |
string | |
is_active |
boolean |
200 -
| Field | Type |
|---|---|
uuid |
string (uuid) |
url |
string (uri) |
name |
string |
organization_uuid |
string (uuid) |
organization |
string (uri) |
attributes |
object |
attributes.end_date |
string |
attributes.agreement_number |
string |
attributes.contract_sum |
integer |
payment_type |
string |
payment_type_display |
string |
is_active |
boolean |
Delete
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
payment_profiles_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Other Actions
Enable
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
payment_profiles_enable
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body