Approve Instant Transfer

This recipe outlines the steps to approve an instant transfer. For users with a control type set to Dual, a secondary review is necessary to approve or decline a previously initiated transfer. The transfer will remain in a pending status until the secondary review is complete.

Step 1: Authenticate API

Endpoint:https://cubi-sandbox-api.customersbank.com/security/v1/authenticate/token

Description: Authenticate and receive an API token

Example Request:

POST /security/v1/authenticate/token HTTP/1.1
Host: cubi-sandbox-api.customersbank.com
Content-Type: application/json
Content-Length: 125

{
    "clientId": "ebb8a62b-e559-43d4-ae44-c7cdc5567320",
    "clientSecret": "12~3F~11111111111111111111111111111111"
}

Step 2: View Pending Transfers

Endpoint: https://cubi-sandbox-api.customersbank.com/transfers/v1/

Description: View transfers with a Pending status. Collect the ID of the transfer to be approved.

Example Request:

Step 3: Approve Transfer

Endpoint: https://cubi-sandbox-api.customersbank.com/transfers/v1/{id}/approve

Description: Approve the transfer by including the ID collected in the above step.

Example Request:

Step 4: View Transfer History

Endpoint: https://cubi-sandbox-api.customersbank.com/transfers/v1/

Description: (Optional) View all transfer history to confirm the transfer was approved

Example Request: