Get payout by ID
Endpoint to get a payout by its ID
Authorization
authorization
AuthorizationBearer <token>
In: header
Path Parameters
idstring
Payout ID
Match
^[A-Za-z]{2,6}_[\w-]{22}$Example
"cpout_5tgliBmzjZ6mpQPRbQjfKj"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.cert.monoban.co/v1/core/payouts/cpout_5tgliBmzjZ6mpQPRbQjfKj"{
"target": {
"country": "CO",
"currency": "COP",
"kind": "co_bank_account",
"account_number": "123456789",
"account_type": "savings_account",
"bank_code": "007",
"payee": {
"document_number": "451730",
"document_type": "CC",
"email": "someone@gmail.com",
"kind": "co_person",
"name": "Pedro Santiago Perez Rodriguez",
"phone_number": "+573000000000"
}
},
"account_id": "lacc_5tgliBmzjZ6mpQPRbQjfKj",
"calculated_fees": {
"bank_transfer": {
"amount": {
"amount": 100000000,
"currency": "COP"
},
"id": "fee_5tgliBmzjZ6mpQPRbQjfKj"
},
"bank_transfer_gmf": {
"amount": {
"amount": 100000000,
"currency": "COP"
},
"id": "fee_5tgliBmzjZ6mpQPRbQjfKj"
}
},
"description": "string",
"external_id": "1234859",
"id": "cpout_5tgliBmzjZ6mpQPRbQjfKj",
"metadata": {
"id": 3,
"reference": 123
},
"method": "co_ach",
"method_params": {},
"reference": "string",
"source_amount": {
"amount": 100000000,
"currency": "COP"
},
"state": "string",
"state_reason": "string",
"target_amount": {
"amount": 100000000,
"currency": "COP"
}
}{
"code": "401 Unauthorized",
"errors": [
{
"error_code": "expired_token",
"message": "The token is expired, inactive, or doesn't exist.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Authorization header is missing or invalid."
}{
"code": "403 Forbidden",
"errors": [
{
"error_code": "not_authorized",
"message": "Not authorized to have access to this resource.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Not authorized to have access to this resource"
}{
"code": "404 Not Found",
"errors": [
{
"error_code": "item_not_found",
"message": "The item doesn't exist",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Resource not defined"
}{
"code": "422 Unprocessable Entity",
"errors": [
{
"error_code": "missing_field",
"message": "The field is missing on the request body or parameters.",
"path": "#/path/to/field",
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Validation errors"
}