Updating channel
PATCH
/api/public/v1/channels/:id/status
This endpoints updates channel status.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Channel ID. |
Body
Name | Type | Description |
---|---|---|
data.type | string | Aways |
data.attributes.status | string | Can be either |
Response
Response Body
Name | Type | Description |
---|---|---|
data.id | string | Channel ID. |
data.type | string | Always |
data.attributes.targetCurrency | string | Channel currency to display to end users. Determines the currency due after processing and conversion. Refer to supported currencies. |
data.attributes.payCurrency | string | Crypto currency that customer must pay in. Refer to supported currencies. |
data.attributes.address | string | Channel address. |
data.attributes.networkCode | string | Payment network code. Refer to supported networks. |
data.attributes.networkName | string | Network name. |
data.attributes.reference | string | The custom reference ID to tie the channel and its deposits to end-user who pays. |
data.attributes.status | string | Channel status. Can be either |
data.attributes.createdAt | string | Timestamp when a channel was created. |
data.attributes.updatedAt | string | Timestamp when a channel was last updated. |
Last updated