Skip to content

Retrieve a Payout

Payment Status

Retrieve the payment status by idempotencyKey

HTTP Request

GET /v1/payments/payouts/key/{idempotencyKey}

Request Headers
{
    "Authorization": "Bearer {{access_token}}",
    "x-api-key": "{{api_key}}"
}

Response

Content-Type: application/json
{
    "statusCode": 200,
    "errorMsg": "",
    "transactionId": "mor4eeea985207035f",
    "idempotencyKey": "idempotency-key",
    "targetName": "Test Name",
    "targetDocument": "0000000",
    "targetBankCode": "0001",
    "targetBankAccountId": "12312312312",
    "amountInCents": 100000,
    "currency": "CLP",
    "createTime": "2022-12-07 09:33:15 GMT+00:00",
    "finalStatusTime": "2022-12-07 09:53:15 GMT+00:00",
    "transferStatus": "SETTLED",
    "transferStatusCode": 200,
    "transferErrorMsg": ""
}

HTTP Headers Details

Key Value
Content-Type application/json
Accept application/json
Authorization "bearer"+ "" + {{access_token}}
x-api-key {{api_key}}

PATH and Query Parameters

Parameter Required Type Description
idempotencyKey String The idempotency key of the transaction

Response Body Details

Parameter Type Description
statusCode int 200 Success, 401 Access denied, 422 Required fields missing or invalid data, 500 internal error
errorMsg String Error message if failed
idempotencyKey String Unique key to ensure idempotent requests
transactionId String The transaction ID
targetName String Target account holder full name
targetDocument String Target account holder identity, RUT
targetBankCode String Target Bank Code.
targetBankAccountId String Target Bank Account Id.
amountInCents Long The transfer amount. note: 100 = 1CLP
currency String The currency code of the transferred fund. enum value as CLP
createTime String Payment record create time
finalStatusTime String Transfer final status update time, final status include SETTLED, FAILED and REJECTED
transferStatus String Transfer status, SETTLED, IN_PROGRESS, FAILED and REJECTED, We should use transferStatus to judge the payment status
transferStatusCode int Transfer status code, TransferErrorCode
transferErrorMsg String Transfer error message if failed
Back to top