Skip to content

Recent Recipients

Get a list of recent recipients ids you made a transfer to. This can be useful in some cases where you want to have a list of recent accounts you transferred something to, then have an easy access to those individuals.

Endpoint: https://youcanpay.com/api/transfers/accounts/recent

Method: GET

Returns

List of recent accounts IDs you made transfers to.

Request

bash
$ curl --location --request GET 'https://youcanpay.com/api/transfers/accounts/recent' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_TOKEN_eyJpc3...'

Response

json
{
  "data": [
    {
      "id": "77710c58-56ba-433d-a390-5fda01e597ee",
      "first_name": "Kane",
      "last_name": "Cantu",
      "phone": "0666666666",
      "email": "[email protected]"
    }
  ]
}