Get a withdrawal [DEPRECATED: Use transaction routes]

GET /api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/withdrawals/{uuid}

Path parameters

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      uuid of the withdrawal

    • datetime the withdrawal was created

    • datetime the withdrawal was updated

    • datetime the money was withdrawn

    • value object

      withdrawal value

      Additional properties are allowed.

GET /api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/withdrawals/{uuid}
curl \
 -X GET https://api.plannrcrm.com/api/v1/plans/plan_uuid/sub-accounts/subAccount_uuid/withdrawals/uuid \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "uuid": "0098786b-31b1-4a9c-bf06-85cfde37542d",
  "value": {
    "amount": {
      "example": "4000",
      "description": "Money amount at their lowest denominator (for example: pennies)"
    },
    "currency": {
      "example": "GBP",
      "description": "Currency of the money"
    },
    "formatted": {
      "example": "£40.00",
      "description": "Money amount formatted with currency"
    }
  },
  "created_at": "2024-12-03T16:50:34+00:00",
  "updated_at": "2024-12-03T16:50:34+00:00",
  "withdrawn_at": "2024-12-03T16:50:34+00:00"
}