Skip to main content
PATCH
/
api
/
v2
/
backoffice
/
monetizations
/
{id}
cURL
curl --request PATCH \
  --url https://sandbox.killb.app/api/v2/backoffice/monetizations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "SETTLED",
  "metadata": {
    "note": "Updated note",
    "processedBy": "admin"
  },
  "revertBalances": "true"
}
'
{
  "id": "4d23aa52-1b40-4584-a8ea-58aba6099c5c",
  "fromCurrency": "USD",
  "toCurrency": "COP",
  "fromAmount": 100000,
  "toAmount": 420000000,
  "fxRate": 4200,
  "tradeDate": "2025-09-29T15:00:00.000Z",
  "status": "SETTLED",
  "outProviderCode": "CITI",
  "inProviderCode": "BANCOLOMBIA",
  "createdAt": "2025-09-29T15:00:00.000Z",
  "updatedAt": "2025-09-29T15:00:00.000Z",
  "metadata": {
    "note": "Updated note"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Body

application/json
status
enum<string>

Status of the monetization (only PENDING can be changed)

Available options:
PENDING,
SETTLED,
CANCELED
Example:

"SETTLED"

metadata
object

Updated metadata for the operation

Example:
{
"note": "Updated note",
"processedBy": "admin"
}
revertBalances
boolean
default:false

Whether to revert balances when transitioning to CANCELED status

Example:

"true"

Response

id
string
required
Example:

"4d23aa52-1b40-4584-a8ea-58aba6099c5c"

fromCurrency
string
required
Example:

"USD"

toCurrency
string
required
Example:

"COP"

fromAmount
number
required
Example:

100000

toAmount
number
required
Example:

420000000

fxRate
number
required
Example:

4200

tradeDate
string<date-time>
required
Example:

"2025-09-29T15:00:00.000Z"

status
enum<string>
required
Available options:
PENDING,
SETTLED,
CANCELED
Example:

"SETTLED"

outProviderCode
string
required
Example:

"CITI"

inProviderCode
string
required
Example:

"BANCOLOMBIA"

createdAt
string<date-time>
required
Example:

"2025-09-29T15:00:00.000Z"

updatedAt
string<date-time>
required
Example:

"2025-09-29T15:00:00.000Z"

metadata
object
Example:
{ "note": "Updated note" }