Skip to main content
POST
/
api
/
v2
/
backoffice
/
monetizations
/
bulk
cURL
curl --request POST \
  --url https://sandbox.killb.app/api/v2/backoffice/monetizations/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "monetizations": [
    {
      "fromCurrency": "USD",
      "toCurrency": "COP",
      "fromAmount": 100000,
      "toAmount": 420000000,
      "fxRate": 4200,
      "tradeDate": "2025-09-29T15:00:00Z",
      "status": "PENDING",
      "outProviderCode": "CITI",
      "inProviderCode": "BANCOLOMBIA",
      "metadata": {
        "note": "Liquidity for payroll"
      }
    }
  ]
}
'
{
  "successful": [
    {
      "id": "4d23aa52-1b40-4584-a8ea-58aba6099c5c",
      "fromCurrency": "USD",
      "toCurrency": "COP",
      "fromAmount": 100000,
      "toAmount": 420000000,
      "fxRate": 4200,
      "tradeDate": "2025-09-29T15:00:00.000Z",
      "outProviderCode": "CITI",
      "inProviderCode": "BANCOLOMBIA",
      "createdAt": "2025-09-29T15:00:00.000Z",
      "updatedAt": "2025-09-29T15:00:00.000Z",
      "metadata": {
        "note": "Liquidity for payroll"
      }
    }
  ],
  "failed": [
    {
      "index": 0,
      "error": "fromCurrency and toCurrency must be different",
      "type": "BadRequestException"
    }
  ],
  "totalRequested": 5,
  "totalSuccessful": 3,
  "totalFailed": 2
}

Authorizations

Authorization
string
header
required

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

Body

application/json
monetizations
object[]
required

Array of monetizations to create

Required array length: 1 - 100 elements

Response

successful
object[]
required

Successfully created monetizations

failed
object[]
required

Failed monetizations with error details

totalRequested
number
required
Example:

5

totalSuccessful
number
required
Example:

3

totalFailed
number
required
Example:

2